mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-13 05:50:27 +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}}
|
{{.U.Name}}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<h2>{{block "change group" .}}Change group{{end}}</h2>
|
|
||||||
|
|
||||||
{{if .Form.HasError}}
|
{{if .Form.HasError}}
|
||||||
<div class="notice notice--error">
|
<div class="notice notice--error">
|
||||||
<strong>{{template "error"}}:</strong>
|
<strong>{{template "error"}}:</strong>
|
||||||
@ -16,6 +14,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
<h2>{{block "change group" .}}Change group{{end}}</h2>
|
||||||
|
|
||||||
<form action="" method="post">
|
<form action="" method="post">
|
||||||
<div class="form-field">
|
<div class="form-field">
|
||||||
<select id="group" name="group" aria-label="{{block "group" .}}Group{{end}}">
|
<select id="group" name="group" aria-label="{{block "group" .}}Group{{end}}">
|
||||||
|
Loading…
Reference in New Issue
Block a user