{% load i18n l10n material_form material_form_internal %} {% render bound_field template='fields/django_select.html' %} {% attr field 'widget' multiple %}multiple{% endattr %} {% attr field 'group' class append %}multiselect{% endattr %} {% part field options %} {% if not field|have_default_choice %}{% endif %}{% for group, items in bound_field|select_options %}{% if group %}{% endif %}{% for choice, value, selected in items %} {% endfor %} {% if group %}{% endif %}{% endfor %} {% endpart %} {% endrender %}