From 84383f8170cdcf88118667e99970820561abd963 Mon Sep 17 00:00:00 2001 From: Quenten Griffith Date: Sat, 25 Feb 2012 09:54:44 -0500 Subject: [PATCH] added an alert message if you fail login --- templates/registration/_login_form.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/registration/_login_form.html b/templates/registration/_login_form.html index 67221203..cc3c4576 100644 --- a/templates/registration/_login_form.html +++ b/templates/registration/_login_form.html @@ -1,7 +1,9 @@ {# login form called via an include statement #} {% load i18n %} {% if form.errors %} -

Your username and password didn't match. Please try again.

+
+ {% trans 'Alert!' %} {% trans "Your username and password didn't match. Please try again."%} +
{% endif %}
{% csrf_token %}