mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-12 05:20:26 +00:00
move form errors out of change group thing
there are multiple form fields now, so the error could apply to any one of the forms
This commit is contained in:
parent
b41acf1f57
commit
5ed9e6d9ef
@ -7,8 +7,6 @@
|
||||
{{.U.Name}}
|
||||
</h1>
|
||||
|
||||
<h2>{{block "change group" .}}Change group{{end}}</h2>
|
||||
|
||||
{{if .Form.HasError}}
|
||||
<div class="notice notice--error">
|
||||
<strong>{{template "error"}}:</strong>
|
||||
@ -16,6 +14,8 @@
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
<h2>{{block "change group" .}}Change group{{end}}</h2>
|
||||
|
||||
<form action="" method="post">
|
||||
<div class="form-field">
|
||||
<select id="group" name="group" aria-label="{{block "group" .}}Group{{end}}">
|
||||
|
Loading…
Reference in New Issue
Block a user