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