summaryrefslogtreecommitdiff
path: root/project/templates/registration/registration_form.html
diff options
context:
space:
mode:
authorParth Buch2012-08-28 17:03:37 +0530
committerParth Buch2012-08-28 17:03:37 +0530
commit7e38fd922a8dd4742d09758cd1c94fb0302045d3 (patch)
treeb43d6ea8c47fb80e09e5e0bfd8759ac7d697addf /project/templates/registration/registration_form.html
downloadscipywebsite-7e38fd922a8dd4742d09758cd1c94fb0302045d3.tar.gz
scipywebsite-7e38fd922a8dd4742d09758cd1c94fb0302045d3.tar.bz2
scipywebsite-7e38fd922a8dd4742d09758cd1c94fb0302045d3.zip
Reboot for scipy 2012
Diffstat (limited to 'project/templates/registration/registration_form.html')
-rwxr-xr-xproject/templates/registration/registration_form.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/project/templates/registration/registration_form.html b/project/templates/registration/registration_form.html
new file mode 100755
index 0000000..6cef77d
--- /dev/null
+++ b/project/templates/registration/registration_form.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+
+{% load i18n %}
+
+{% block content %}
+ <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.as_table }}
+ </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 %}