{% extends "privileges/base.html" %} {% load bootstrap_tags %} {% block body %} {% if form.instance.pk %} {% url privileges_grant_update username=username pk=form.instance.pk as post_url %}

Grant Update

Use this form to update the existing grant.

{% else %} {% url privileges_grant_create username=username as post_url %}

Grant Create

Use this form to create a new grant.

{% endif %}
{% csrf_token %} {{ form|as_bootstrap }}
Cancel
{% endblock %}