{% extends "base.html" %} {% block content %}

{% if object %}Edit template{% else %}New template{% endif %}

{% csrf_token %} {{ form.as_p }}
{% endblock %}