moviewyrm/bookwyrm/templates/widgets/checkbox_select_horizontal.html
2021-11-22 00:25:47 +01:00

12 lines
356 B
HTML

{% with id=widget.attrs.id %}
<div{% if id %} id="{{ id }}"{% endif %} class="field">
<div class="control">
{% for group, options, index in widget.optgroups %}
{% for option in options %}
{% include option.template_name with widget=option %}
{% endfor %}
{% endfor %}
</div>
</div>
{% endwith %}