{% load i18n l10n tbxforms %}
{% if field.label %} {% if legend_tag %}<{{ legend_tag }} class="tbxforms-fieldset__heading">{% endif %} {{ field.label|safe }} {% if not field|show_as_required %} {% trans "(optional)" %}{% endif %} {% if legend_tag %}{% endif %} {% endif %} {% include 'tbx/layout/help_text_and_errors.html' %}
{% for choice in field.field.choices %}
{% if choice.hint %} {{ choice.hint }} {% endif %}
{% if choice.divider %}
{{ choice.divider }}
{% endif %} {% endfor %}