diff options
Diffstat (limited to 'tpls/register.tpl')
-rw-r--r-- | tpls/register.tpl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tpls/register.tpl b/tpls/register.tpl new file mode 100644 index 0000000..a6e0c38 --- /dev/null +++ b/tpls/register.tpl @@ -0,0 +1,21 @@ +{{define "title"}}Register{{end}} + +{{define "content"}} + {{if .Success}} + <div class="success">{{.Success}}</div> + {{else}} + {{if .Error}}<div class="error">{{.Error}}</div>{{end}} + <form action="/register" method="post" accept-charset="UTF-8"> + <p><strong>E-Mail:</strong> <input type="text" name="Mail" /></p> + <p><strong>Password:</strong> <input type="password" name="Password" /></p> + <p><strong>Retype Password:</strong> <input type="password" name="RetypePassword" /></p> + <p> + <strong>Timezone:</strong> + <select size="0" name="Timezone"> + {{range .Timezones}}<option value="{{.}}">{{.}}</option>{{end}} + </select> + </p> + <p><input type="submit" /></p> + </form> + {{end}} +{{end}}
\ No newline at end of file |