l10n, create dir on creating file

This commit is contained in:
Wancat
2022-11-04 23:17:17 +08:00
parent 9f99aad680
commit 7c63223aa0
4 changed files with 15 additions and 7 deletions

View File

@@ -1,10 +1,11 @@
{{ define "title" }}Sign Up{{ end }}
{{ define "title" }}註冊{{ end }}
{{ define "main" }}
<h1>Sign Up</h1>
<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="Sign Up">
<input type="submit" value="註冊">
</form>
<a href="signin">已有帳號嗎?登入</a>
{{ end }}