saasitone/templates/components/forms.gohtml
2021-12-22 23:40:08 -05:00

9 lines
194 B
Plaintext

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