{% load i18n %} {% spaceless %} {% block "selectize-select-widget" %} {% for group_name, group_choices, group_index in widget.optgroups %}{% if group_name %} {% endif %}{% for option in group_choices %} {{ option.label }}{% endfor %}{% if group_name %} {% endif %}{% endfor %} {% endblock %} {% if widget.attrs.multiple %}{% with script_id=widget.attrs.id|add:"_initial" %} {{ widget.value|json_script:script_id }} {% endwith %}{% endif %} {% block "templates" %} {% block "select-no-results" %} {% trans "No results found for '${input}'" %} {% endblock %} {% block "selectize-remove-item" %} {% trans "Remove item" %} {% endblock %} {% endblock %} {% endspaceless %}