From 38bf1d1ab57df154ba4de31b2c7e85a972a5289e Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 12 Apr 2015 21:57:20 +0200 Subject: Fixed a bug when creating a new user via the dashboard. An other little improvement for the main menu. --- pyaggr3g470r/templates/admin/create_user.html | 3 +++ pyaggr3g470r/templates/layout.html | 13 +++++++++---- pyaggr3g470r/templates/management.html | 15 --------------- pyaggr3g470r/templates/profile.html | 16 ++++++++++++++++ 4 files changed, 28 insertions(+), 19 deletions(-) (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/admin/create_user.html b/pyaggr3g470r/templates/admin/create_user.html index 1d6d6c11..64387dce 100644 --- a/pyaggr3g470r/templates/admin/create_user.html +++ b/pyaggr3g470r/templates/admin/create_user.html @@ -18,6 +18,9 @@ {{ form.password.label }} {{ form.password(class_="form-control") }} {% for error in form.password.errors %} {{ error }}
{% endfor %} + {{ form.refresh_rate.label }} + {{ form.refresh_rate(class_="form-control") }} {% for error in form.refresh_rate.errors %} {{ error }}
{% endfor %} +
{{ form.submit(class_="btn btn-default") }} diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index 94d3fdc6..e3d3be38 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -79,16 +79,21 @@ -
  • {{ _('Logout') }}
  • + {% if not on_heroku %}