{% from "tungsten/forms/macros.html" import wrapper, mirror %} {% macro checkboxes(v, options) %}
{% for o in options %} {% else %}

{{ __('No options available.') }}

{% endfor %}
{% endmacro %} {% call wrapper(field, v) %}
{% if v.bulk and not v.disabled %}
{% endif %} {% if v.groups %}
{% for g in v.groups %}
{% if g.label %}{{ g.label }}{% endif %} {{ checkboxes(v, g.options) }}
{% endfor %}
{% else %} {{ checkboxes(v, v.options) }} {% endif %}
{{ mirror(v) }} {% endcall %}