{% load static %}
{{ MS_TRANS.subsections }}
{% for checkbox in field %} {% with checkbox_id=checkbox.id_for_label %} {# Check if the current choice is in the locked list #} {% if checkbox.data.value|stringformat:"s" in locked_ids %}
{# Hidden input to ensure value is submitted if disabled #}
{% else %} {% endif %} {% endwith %} {% empty %} {{ MS_TRANS.subsection_empty }} {% endfor %} {# Add New Subsection Button - Triggers Inline Input #}