{% extends "authentic2/manager/base.html" %} {% load i18n %} {% block messages %} {% if not request.is_ajax %} {{ block.super }} {% endif %} {% endblock %} {% block content %}
{% if messages %} {% if request.is_ajax %} {% endif %} {% endif %} {% csrf_token %} {% block beforeform %} {% endblock %} {% if form.errors %} {% endif %} {% for field in form.visible_fields %} {% block beforefield %} {% endblock %}

{{ field.label_tag }} {{ field }} {% if field.help_text %} {{ field.help_text|safe }} {% endif %} {% if field.errors %}

{% endif %}

{% block afterfield %} {% endblock %} {% endfor %} {% for field in form.hidden_fields %} {{ field }} {% endfor %} {% block afterform %} {% endblock %} {% block buttons %}
{% trans "Cancel" %}
{% endblock %}
{% block other_actions %} {% if other_actions %} {% trans "Actions" %} {% for action in other_actions %} {% endfor %} {% endif %} {% endblock %}
{% block hidden_inputs %} {% endblock %}
{% endblock %}