Initial commit of form submission struct.

This commit is contained in:
mikestefanello 2021-12-22 23:40:08 -05:00
parent b61077dac9
commit 57159c4fba
5 changed files with 126 additions and 21 deletions

View file

@ -1,3 +1,9 @@
{{define "csrf"}}
<input type="hidden" name="csrf" value="{{.CSRF}}"/>
{{end}}
{{define "form-field-errors"}}
{{range .}}
<p class="help is-danger">{{.}}</p>
{{end}}
{{end}}