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

{{ name }} {% if to_edit %}- {{ to_edit.username }}{% endif %}

{% csrf_token %} {% include "dojo/form_fields.html" with form=form %}
   {% if to_edit and to_edit.id != user.id %} Delete User {% endif %}
{% endblock %} {% block postscript %} {% if to_add or to_edit and not to_edit.is_staff %} {% else %} {% endif %} {% if not user.is_superuser %} {% endif %} {% endblock %}