project/templates/registration/activate.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Wed, 11 Nov 2009 15:56:21 +0530
changeset 25 ad091ba95653
parent 24 bb1f31e9c3ab
child 26 e3e4bcbc7c19
permissions -rwxr-xr-x
Added i18 loader in one of the registration templates.
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
25
ad091ba95653 Added i18 loader in one of the registration templates.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 24
diff changeset
     3
{% load i18n %}
ad091ba95653 Added i18 loader in one of the registration templates.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 24
diff changeset
     4
24
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
        <table>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
          Your account has been activated and registration procedure is complete.
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
          You can login to your account now.
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
        </table>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
      <script type="text/javascript">
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
	document.getElementById('id_username').focus();
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
      </script>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
   </div>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
{% endblock %}