mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-29 21:46:57 +02: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:
parent
966383c762
commit
708e31660f
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user