12 lines
410 B
HTML
12 lines
410 B
HTML
{{ define "title" }}註冊{{ end }}
|
|
{{ define "main" }}
|
|
<h1>註冊</h1>
|
|
<form action="/signup" method="POST">
|
|
<label>Email: <input type="text" name="email"></label><br>
|
|
<label>Password: <input type="password" name="password"></label><br>
|
|
{{ with .Error }}<p class="error">{{ . }}</p>{{ end }}
|
|
<input type="submit" value="註冊">
|
|
</form>
|
|
<a href="signin">已有帳號嗎?登入</a>
|
|
{{ end }}
|