
    {% endif %}
{% endblock %}

{% block action %}
    {% trans 'Lock' as lock_text %}
    {% if user_can_unlock %}
        {% include 'wagtailadmin/shared/action_switch.html' with data_url=unlock_url label_text=lock_text checked=True %}
    {% endif %}
    {% if user_can_lock %}
        {% include 'wagtailadmin/shared/action_switch.html' with data_url=lock_url label_text=lock_text checked=False %}
    {% endif %}
{% endblock %}
