mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-29 09:12:19 +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) %}
|
||||
<div class="radio">
|
||||
<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 %}
|
||||
<strong>{{ emph }}</strong>,
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user