mirror of
				https://github.com/optim-enterprises-bv/Mailu.git
				synced 2025-10-31 18:18:05 +00:00 
			
		
		
		
	mark radio buttons in setup utility as required
Otherwise it's possible to submit the form without selecting e.g. any flavor, which would need additional handling on the server side.
This commit is contained in:
		| @@ -12,7 +12,7 @@ | |||||||
| {% macro radio(name, value, emph, text, current) %} | {% macro radio(name, value, emph, text, current) %} | ||||||
|   <div class="radio"> |   <div class="radio"> | ||||||
|     <label> |     <label> | ||||||
|       <input type="radio" name="{{ name }}" value="{{ value }}"{% if current == value %} checked="checked"{% endif %}> |       <input type="radio" name="{{ name }}" value="{{ value }}"{% if current == value %} checked="checked"{% endif %} required="required"> | ||||||
|       {% if emph %} |       {% if emph %} | ||||||
|       <strong>{{ emph }}</strong>, |       <strong>{{ emph }}</strong>, | ||||||
|       {% endif %} |       {% endif %} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 lub
					lub