{% from '_protection_messages.html' import render_public_protection_message, render_inherited_protection_message, render_protected_protection_message, render_non_inheriting_children_message %}
{{ render_public_protection_message() }} {% if field.can_inherit_protection %} {{ render_inherited_protection_message(protected_object.protection_parent, parent_type) }} {% endif %} {{ render_protected_protection_message() }} {{ render_non_inheriting_children_message(protected_object, non_inheriting_objects) }}