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

@ -0,0 +1,25 @@
{{define "content"}}
<form method="post">
<div class="field">
<label for="" class="label">Email</label>
<div class="control">
<input type="email" placeholder="e.g. bobsmith@gmail.com" class="input" required>
</div>
</div>
<div class="field">
<label for="" class="label">Password</label>
<div class="control">
<input type="password" placeholder="*******" class="input" required>
</div>
</div>
<div class="field is-grouped">
<p class="control">
<button class="button is-primary">Register</button>
</p>
<p class="control">
<a href="{{call .Reverse "home"}}" class="button is-light">Cancel</a>
</p>
</div>
{{template "csrf" .}}
</form>
{{end}}