project/templates/registration/registration_form.html
author Anoop Jacob Thomas<anoop@fossee.in>
Thu, 11 Nov 2010 18:43:19 +0530
changeset 210 b61bcea508ee
parent 24 bb1f31e9c3ab
permissions -rwxr-xr-x
Updated venue page, removed unwanted content.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "base.html" %}
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
{% load i18n %}
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
{% block content %}
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
  <div class="post">
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
    <div class="title"><h2>{% trans "Register" %}</h2></div>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
    <div id="search">
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
    <style type="text/css">
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
    ul.errorlist {
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
        margin: 0;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
        padding: 0;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
    }
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
    .errorlist li {        
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
        color: red;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
        display: block;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
        font-size: 10px;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
        margin: 0 1 3px;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
        padding: 0px 45px;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
    }
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
</style>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
      <form method="POST" action=".">
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
        <table>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
          {{ form.as_table }}
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
        </table>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
        <p><input type="submit" name="Register" value="{% trans "Register" %}" class="btn"></p>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
      </form>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
      <script type="text/javascript">
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
	document.getElementById('id_username').focus();
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
      </script>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    32
   </div>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    33
{% endblock %}