mirror of
				https://github.com/osmarks/mycorrhiza.git
				synced 2025-11-04 01:23:02 +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:
		@@ -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}}">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user