1
0
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:
Jackson 2023-11-27 14:55:44 +01:00 committed by Timur Ismagilov
parent b41acf1f57
commit 5ed9e6d9ef

View File

@ -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}}">