[Debconf-video-commits] r397 - in package/branches/pycon09/src/pyconvideo: . registration

benh at alioth.debian.org benh at alioth.debian.org
Thu Mar 26 19:40:16 UTC 2009


Author: benh
Date: 2009-03-26 19:40:16 +0000 (Thu, 26 Mar 2009)
New Revision: 397

Added:
   package/branches/pycon09/src/pyconvideo/registration/
   package/branches/pycon09/src/pyconvideo/registration/login.html
Log:
Add login page template.


Added: package/branches/pycon09/src/pyconvideo/registration/login.html
===================================================================
--- package/branches/pycon09/src/pyconvideo/registration/login.html	                        (rev 0)
+++ package/branches/pycon09/src/pyconvideo/registration/login.html	2009-03-26 19:40:16 UTC (rev 397)
@@ -0,0 +1,25 @@
+<html>
+
+  <head><title>Login required</title></head>
+
+  <body>
+
+    <h1>Login required</h1>
+
+    {% if form.errors %}
+    <p>Your username and password didn't match. Please try again.</p>
+    {% endif %}
+
+    <form method="post" action=".">
+      <table>
+	<tr><td>{{ form.username.label_tag }}</td><td>{{ form.username }}</td></tr>
+	<tr><td>{{ form.password.label_tag }}</td><td>{{ form.password }}</td></tr>
+      </table>
+
+      <input type="submit" value="login" />
+      <input type="hidden" name="next" value="{{ next }}" />
+    </form>
+
+    </body>
+
+</html>




More information about the Debconf-video-commits mailing list