Add the error message to login template.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Tue, 18 Jan 2011 14:37:30 +0530
changeset 458 9b06ea576a70
parent 457 1082b5ee29c5
child 459 e7b1a685b488
Add the error message to login template.
pytask/templates/_user_login.html
--- a/pytask/templates/_user_login.html	Tue Jan 18 14:37:06 2011 +0530
+++ b/pytask/templates/_user_login.html	Tue Jan 18 14:37:30 2011 +0530
@@ -22,6 +22,9 @@
     <form id="form_login" method="post">
       <div id="loginform">
       {% csrf_token %}
+        <div id="error">
+          Username/Password did not match
+        </div>
         <div id="field">
           <label for="username">Username</label>
           <input id="username" type="text" name="username" />