From 2996924fe44d5846dfc5251a104fdcaaab239eb3 Mon Sep 17 00:00:00 2001 From: Qwann Date: Tue, 21 Feb 2017 11:38:21 +0100 Subject: [PATCH] user urls included in global interface --- shared/templates/base_nav.html | 6 ++++-- user/templates/user/base_user.html | 2 +- user/templates/user/user_form.html | 5 ++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/shared/templates/base_nav.html b/shared/templates/base_nav.html index 79d61b3..57a059a 100644 --- a/shared/templates/base_nav.html +++ b/shared/templates/base_nav.html @@ -67,10 +67,12 @@ diff --git a/user/templates/user/base_user.html b/user/templates/user/base_user.html index ea8df3e..fa35902 100644 --- a/user/templates/user/base_user.html +++ b/user/templates/user/base_user.html @@ -24,7 +24,7 @@ {% if user.is_authenticated %}
  • - + Changer de mot de passe
  • diff --git a/user/templates/user/user_form.html b/user/templates/user/user_form.html index a782471..49bbfa2 100644 --- a/user/templates/user/user_form.html +++ b/user/templates/user/user_form.html @@ -10,6 +10,9 @@

    Formulaire

    + {% if form.errors %} +

    {% block user_error %}{% endblock %}

    + {% endif %}
    {% csrf_token %}
    @@ -28,7 +31,7 @@
    {{ field | attr:"class:form-control" }} {% if field.help_text %} -

    {{ field.help_text }}

    +

    {{ field.help_text | safe }}

    {% endif %}