diff templates/controls.djhtml @ 24:2e7226e90157

Many fixes. See detailed description. - Style errors - Writer proper 404 and 500 templates - Make login page redirect back to page being viewed (still buggy?) - Provide a brief blurb about Agora - Use tables for registration and login forms (need to be styled) - Fix typos, grammatical errors. - Don't use .djhtml extension for some templates
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Mon, 28 Jun 2010 03:00:01 -0500
parents d9658d30b814
children
line wrap: on
line diff
--- a/templates/controls.djhtml	Sun Jun 27 21:56:57 2010 -0500
+++ b/templates/controls.djhtml	Mon Jun 28 03:00:01 2010 -0500
@@ -16,7 +16,7 @@
     </p>
     {% else %}
     <p>
-      <a href="/accounts/login">Log in</a>
+      <a href="{% url auth_login%}?next={{ request.path }}">Log in</a>
     </p>
     {% endif %}
     <form method="get" action="." >