mirror of https://github.com/snachodog/mybuddy.git
12 lines
416 B
HTML
12 lines
416 B
HTML
{% with id=widget.attrs.id %}
|
|
<div {% if id %}id="{{ id }}"{% endif %} class="pill-container">
|
|
{% for group, options, index in widget.optgroups %}
|
|
{% for option in options %}
|
|
{% if option.value != '' %}
|
|
{% include option.template_name with widget=option %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endwith %}
|