Added register route and template.
This commit is contained in:
parent
fe0fb8c801
commit
fc1d3cdc33
7 changed files with 69 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{{define "content"}}
|
||||
<form action="" class="">
|
||||
<form method="post">
|
||||
<div class="field">
|
||||
<label for="" class="label">Email</label>
|
||||
<div class="control">
|
||||
|
|
@ -20,5 +20,7 @@
|
|||
<a href="{{call .Reverse "home"}}" class="button is-light">Cancel</a>
|
||||
</p>
|
||||
</div>
|
||||
{{template "csrf" .}}
|
||||
</form>
|
||||
<div class="content is-small"><a href="{{call .Reverse "register"}}">Create an account</a></div>
|
||||
{{end}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue