{% extends "admin_base.html" %}
{% from "publish/inc_field_macros.html" import input, help with context %}
{% block copyright %}
{% endblock %}
{% block extra_head %}
{{ super() }}
{% if settings.DEBUG %}
{% else %}
{% endif%}
{% endblock %}
{% set body_id = 'template_edit' %}
{% set page_heading = 'Edit template' if user else 'Add template' %}
{% block body %}
{{ super() }}
{% if err_msg %}