{% extends 'kfet/base_col_1.html' %} {% load staticfiles %} {% load widget_tweaks %} {% block extra_head %} {% endblock %} {% block title %}Permissions - Édition{% endblock %} {% block header-title %}Modification des permissions{% endblock %} {% block main-class %}content-form{% endblock %} {% block main-content %}
{% csrf_token %}
K-Fêt {{ form.name|add_class:"form-control" }}
{% if form.name.errors %}{{ form.name.errors }}{% endif %} {% if form.name.help_text %}{{ form.name.help_text }}{% endif %}
{% include "kfet/form_field_snippet.html" with field=form.permissions %} {% if not perms.kfet.manage_perms %} {% include "kfet/form_authentication_snippet.html" %} {% endif %} {% include "kfet/form_submit_snippet.html" with value="Enregistrer" %}
{% endblock %}