{% load i18n l10n tbxforms %}
{% if field.label %} {% if legend_tag %}<{{ legend_tag }} class="tbxforms-fieldset__heading">{% endif %} {{ field.label }} {% if highlight_required_fields %} {% if field|show_as_required %} {# djlint:off #}*{# djlint:on #}{% endif %} {% else %} {% if not field|show_as_required %} {% trans "(optional)" %}{% endif %} {% endif %} {% if legend_tag %}{% endif %} {% endif %} {% include "tbxforms/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 %}