template/register.html
changeset 5 7358eeae14d8
child 6 4e819dd96e1f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/template/register.html	Thu Sep 24 15:20:30 2009 +0530
@@ -0,0 +1,31 @@
+{% extends "index.html" %}
+{% load i18n %}
+{% block centercontent %}
+  <div class="post">
+    <div class="title"><h2>{% trans "Register" %}</h2></div>
+    <div id="search">
+    <style type="text/css">
+    ul.errorlist {
+        margin: 0;
+        padding: 0;
+    }
+    .errorlist li {        
+        color: red;
+        display: block;
+        font-size: 10px;
+        margin: 0 1 3px;
+        padding: 0px 45px;
+    }
+</style>
+
+      <form method="POST" action=".">
+        <table>
+          {{ form }}
+        </table>
+        <p><input type="submit" name="Register" value="{% trans "Register" %}" class="btn"></p>
+      </form>
+      <script type="text/javascript">
+	document.getElementById('id_username').focus();
+      </script>
+   </div>
+{% endblock %}