From 91852bd4a0169faa0a797886727c81e777df6228 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Mon, 3 Aug 2020 19:06:22 +0200 Subject: [PATCH] Template fixes --- kfet/templates/kfet/account_group_form.html | 31 +-------------------- kfet/templates/kfet/form_field_snippet.html | 2 +- 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/kfet/templates/kfet/account_group_form.html b/kfet/templates/kfet/account_group_form.html index b309d838..7d1410dd 100644 --- a/kfet/templates/kfet/account_group_form.html +++ b/kfet/templates/kfet/account_group_form.html @@ -7,35 +7,6 @@ {% block main %} -
- {% 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 %} - {% include "kfet/form_submit_snippet.html" with value="Enregistrer" %} -
- - +{% include "kfet/form_full_snippet.html" with authz=perms.kfet.manage_perms submit_text="Enregistrer" %} {% endblock %} diff --git a/kfet/templates/kfet/form_field_snippet.html b/kfet/templates/kfet/form_field_snippet.html index a2aa087f..b7eddb5d 100644 --- a/kfet/templates/kfet/form_field_snippet.html +++ b/kfet/templates/kfet/form_field_snippet.html @@ -5,7 +5,7 @@
{% if field|widget_type == "checkboxselectmultiple" %}