Fix: var check order
This commit is contained in:
parent
66184314cd
commit
d22093d1d1
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
|||
{% for radio in form.mature %}
|
||||
<div class="form-check form-check-inline">
|
||||
<label for="{{ radio.id_for_label }}">{{ radio.choice_label }}</label>
|
||||
<input class="form-check-input" type="radio" name="mature" value="{{ radio.data.value }}" id="{{ radio.id_for_label }}" {% if form.mature.initial == radio.data.value %}checked{% endif %}>
|
||||
<input class="form-check-input" type="radio" name="mature" value="{{ radio.data.value }}" id="{{ radio.id_for_label }}" {% if radio.data.value == form.mature.initial %}checked{% endif %}>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
|
@ -67,6 +67,7 @@
|
|||
</form>
|
||||
|
||||
<hr>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue