{% extends "cendarilayout.html" %} {% load typogrify display %} {% load staticfiles compress %} {% load display staticfiles %} {% load widget_tweaks %} {% block editor_content %} {% if form.media %}{{ form.media.js }}{% endif %} {% block form_init %} {% endblock form_init%} {% block noform %}
{% csrf_token %} {% include "includes/bootstrap_errors.html" with errors=form.non_field_errors %} {% block form_content %}

{% if form.instance.id %}Change{% else %}Add{% endif %} {{ form.Meta.model|object_name|lower }}

{% endblock form_content %}
{% endblock noform %} {% block form_functions %} {% endblock form_functions %} {% endblock editor_content %}