{% load main_extras %}
{% if widget.attrs.disabled %}
  {% for group_name, group_choices, group_index in widget.optgroups %}
    {% for option in group_choices %}
      {% if option.selected %}
        <a href="{% url "statement" statement=option.value %}">{{ "file"|remix }}{{ option.label }}</a>
      {% endif %}
    {% endfor %}
  {% endfor %}
{% endif %}
{% include "django/forms/widgets/select.html" %}
