Use label "for" on checkboxes
This commit is contained in:
parent
3b99aa2d73
commit
62ebe96520
@ -77,8 +77,8 @@
|
||||
{% for group in groups %}
|
||||
<div class="field" style="display: inline; margin-right: 1em;">
|
||||
<div class="ui checkbox">
|
||||
<input type="checkbox" name="also_limit_{{ group.id }}"{% if group.id in item.also_limit %} checked{% endif %}>
|
||||
<label>{{ group.name }}</label>
|
||||
<input type="checkbox" name="also_limit_{{ group.id }}" id="also_limit_{{ group.id }}"{% if group.id in item.also_limit %} checked{% endif %}>
|
||||
<label for="also_limit_{{ group.id }}">{{ group.name }}</label>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user