{% extends "base/body_content.html" %} {% load smart_if %} {% block title %} {% if is_template %} {% if item.id %}Edit template - {{ item.format_name }}{% else %}New template{% endif %} {% else %} {% if item.id %}Edit page - {{ item.format_name }}{% else %}New page{% endif %} {% endif %} {% endblock %} {% block extra_head %} {% if enable_tinymce %} {% endif %} {% comment %} {% endcomment %} {% endblock %} {% block main_content %}