You do not have permission to update the items shown below in red.
{% endif %}
{% if deselections %}
Some items have been deselected automatically due to being registered in a higher state.
{% endif %}
{% with id=widget.attrs.id %}
{% if top_header %}
{% for header in top_header %}
{{ header.text }}
{% endfor %}
{% endif %}
{% for header in headers %}
{{ header }}
{% endfor %}
{% for group, options, index in widget.optgroups %}{% if group %}
{{ group }}
{% endif %}
{% for option in options %}
{% include option.template_name with widget=option enabled=option.permission checked=option.checked %}
{% for item in option.extra %}
{% if item.url %}