{% extends 'ndr_core/admin_views/base.html' %} {% load django_tables2 %} {% load crispy_forms_tags %} {% load ndr_values %} {% block content %}

Settings

{% config_value 'page_is_editable' as is_editable %} {% if is_editable %}
Options

Danger Zone
{% config_value 'page_is_editable' as is_editable %} {% if is_editable %} Set Page to "Read Only Mode" {% else %} Set Page to "Editable Mode" {% endif %} {% config_value 'under_construction' as is_under_construction %} {% if is_under_construction %} Set Page to "Live Mode" {% else %} Set Page to "Under Construction Mode" {% endif %} Reset to defaults
Settings
{% if object %}
{{ object.title }}

{{ object.help_text }}

{% crispy form %}
{% endif %} {% else %}
Set Page to "Editable Mode"
{% endif %} {% endblock %}