summaryrefslogtreecommitdiff
path: root/templates/registration/login.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2015-01-13 18:17:27 -0600
committerDan McGee <dan@archlinux.org>2015-01-13 18:24:56 -0600
commit5a31b868715dbd1a4e7fd87f0f9f04e2c8395391 (patch)
treec10f736a66080cc07f5514db2686c792d717ad47 /templates/registration/login.html
parent1edc33fd73ba588dea8765cd2d9a936f98d7dc1e (diff)
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 <dan@archlinux.org>
Diffstat (limited to 'templates/registration/login.html')
-rw-r--r--templates/registration/login.html10
1 files changed, 2 insertions, 8 deletions
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 %}
<div id="dev-login" class="box">
-
<h2>Developer Login</h2>
- {% if form.has_errors %}
- <p class="login-error">Your username and password didn't match. Please try again.</p>
- {% endif %}
-
<form id="dev-login-form" method="post">{% csrf_token %}
<fieldset>
- <legend>Enter login credentials</legend>
+ <legend>Please enter your credentials to login.</legend>
{{ form.as_p }}
- <p><label></label> <input type="submit" value="Login" /></p>
+ <p><label></label><input type="submit" value="Login"/></p>
</fieldset>
</form>
-
</div>
{% endblock %}