From 3b5ef3b0a88247eeafeee878de528aad71f9fd4b Mon Sep 17 00:00:00 2001 From: maxbr Date: Fri, 19 Aug 2016 17:10:31 +0200 Subject: Split the dashboard into different apps, add tests JIRA: RELENG-12 Signed-off-by: maxbr --- .../templates/registration/login.html | 34 ++++++++-------------- 1 file changed, 12 insertions(+), 22 deletions(-) (limited to 'tools/pharos-dashboard/templates/registration/login.html') diff --git a/tools/pharos-dashboard/templates/registration/login.html b/tools/pharos-dashboard/templates/registration/login.html index efdcd1fb..45b9d451 100644 --- a/tools/pharos-dashboard/templates/registration/login.html +++ b/tools/pharos-dashboard/templates/registration/login.html @@ -1,4 +1,5 @@ -{% extends "layout/base.html" %} +{% extends "layout.html" %} +{% load bootstrap3 %} {% block basecontent %}
@@ -17,14 +18,6 @@ {% endif %}
{% endif %} - {% if form.errors %} -
- - Your username and password didn't match. Please try again. -
- {% endif %}
@@ -36,26 +29,23 @@
-
+ {% csrf_token %} -
-
- -
-
- -
- - -
+ {% bootstrap_form form %} + {% buttons %} + + Register + {% endbuttons %}
+ {# Assumes you setup the password_reset view in your URLconf #} {#

Lost password?

#} {% endblock basecontent %} -- cgit 1.2.3-korg