{% load i18n %} {% with id=widget.attrs.id %}
{% for column_name in widget.column_names %}{% endfor %} {% for option in widget.options %} {% for cell in option.label %} {% endfor %} {% endfor %}
{% if widget.options|length > 1 %}{% endif %} {{ column_name }}
{% include option.template_name with widget=option %} {% if option.attrs.required %} {% translate 'this field is required' %} {% endif %}
{% endwith %}