Added register route and template.

This commit is contained in:
mikestefanello 2021-12-03 16:35:11 -05:00
parent fe0fb8c801
commit fc1d3cdc33
7 changed files with 69 additions and 8 deletions

View file

@ -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}}