From 5a31b868715dbd1a4e7fd87f0f9f04e2c8395391 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 13 Jan 2015 18:17:27 -0600 Subject: Slight tweaks to login and logout pages Turns out has_errors hasn't worked since Django pre-1.0, wow. Remove that old code and clean up some other small things while we're in there. Signed-off-by: Dan McGee --- templates/registration/login.html | 10 ++-------- templates/registration/logout.html | 5 +++-- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/registration/login.html b/templates/registration/login.html index 82f74f58..b5894319 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -5,21 +5,15 @@ {% block content %}
-

Developer Login

- {% if form.has_errors %} - - {% endif %} -
{% csrf_token %}
- Enter login credentials + Please enter your credentials to login. {{ form.as_p }} -

+

-
{% endblock %} diff --git a/templates/registration/logout.html b/templates/registration/logout.html index 50b3574b..84bbff94 100644 --- a/templates/registration/logout.html +++ b/templates/registration/logout.html @@ -1,11 +1,12 @@ {% extends "base.html" %} + {% block title %}Arch Linux - Logout successful{% endblock %} {% block content %}

Developer Logout

-

Logout was successful.

+

Logout was successful. + Click here to login again.

{% endblock %} - -- cgit v1.2.3-54-g00ecf