11 lines
494 B
HTML
11 lines
494 B
HTML
{% spaceless %}
|
|
<span id="{{ widget.attrs.id }}" class="weekdays-buttons-group{% if widget.attrs.class %} {{ widget.attrs.class }}{% endif %}" role="group">
|
|
{% for group, options, index in widget.optgroups %}
|
|
{% for option in options %}
|
|
{% include "django/forms/widgets/input.html" with widget=option %}
|
|
<label{% if option.attrs.id %} for="{{ option.attrs.id }}"{% endif %}>{{ option.label }}</label>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</span>
|
|
{% endspaceless %}
|