From 5c1ab133ca1f36fadd8eea647255b8a89971e673 Mon Sep 17 00:00:00 2001 From: artus Date: Sun, 14 Oct 2018 00:37:35 +0200 Subject: [PATCH] fix details views --- notes/templates/notes/details_maraude.html | 22 ++++++++++------------ notes/templates/notes/details_sujet.html | 12 ++++-------- notes/templates/notes/liste_sujets.html | 4 ++-- 3 files changed, 16 insertions(+), 22 deletions(-) diff --git a/notes/templates/notes/details_maraude.html b/notes/templates/notes/details_maraude.html index acac101..db4bf3e 100644 --- a/notes/templates/notes/details_maraude.html +++ b/notes/templates/notes/details_maraude.html @@ -11,25 +11,23 @@ {% endblock %} {% block sidebar %} -
-
-

Navigation

-
-
{% endblock %} {% block right_column %} diff --git a/notes/templates/notes/details_sujet.html b/notes/templates/notes/details_sujet.html index 735b779..b80a1de 100644 --- a/notes/templates/notes/details_sujet.html +++ b/notes/templates/notes/details_sujet.html @@ -90,14 +90,10 @@ {% block sidebar %} {{ block.super }} {% if user.is_superuser %} -
-

Administration :

- + + {% endif %} {% endblock %} diff --git a/notes/templates/notes/liste_sujets.html b/notes/templates/notes/liste_sujets.html index 27edf19..49365c2 100644 --- a/notes/templates/notes/liste_sujets.html +++ b/notes/templates/notes/liste_sujets.html @@ -10,7 +10,7 @@ {% block sidebar_insert %} -
+ {% csrf_token %}
@@ -20,7 +20,7 @@
- Ajouter un sujet + {% endblock %} {% block search %}