{##} {% if title is defined %} {{ title }} {% endif %} {% block extra_head %} {% endblock extra_head %} {% if not admin %}
{% endif %} {% block header %} {% include 'admin/_header.html' with context %} {% endblock header %} {% if admin %}
{% endif %} {% block messages %} {% include 'includes/_messages.html' with context %} {% endblock messages %} {% block body %}{% endblock body %} {% block content %}{% endblock content %}
{% block footer %}{% endblock footer %}
{% block footer_js %} {% if form %} {% set ck = false %} {% for f in form %} {% if f.type == 'FormField' %} {% for field in f %} {% if field.type == 'CKTextEditorField' %} {% set ck = true %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% if codemirror %} {#{{ codemirror.include_codemirror() }}#} {% endif %} {% endif %} {% endblock footer_js %}