template/registration/registration_form.html
changeset 9 2c360e775cb0
equal deleted inserted replaced
8:f0b5ff862c6d 9:2c360e775cb0
       
     1 {% extends "index.html" %}
       
     2 
       
     3 {% load i18n %}
       
     4 
       
     5 {% block centercontent %}
       
     6   <div class="post">
       
     7     <div class="title"><h2>{% trans "Register" %}</h2></div>
       
     8     <div id="search">
       
     9     <style type="text/css">
       
    10     ul.errorlist {
       
    11         margin: 0;
       
    12         padding: 0;
       
    13     }
       
    14     .errorlist li {        
       
    15         color: red;
       
    16         display: block;
       
    17         font-size: 10px;
       
    18         margin: 0 1 3px;
       
    19         padding: 0px 45px;
       
    20     }
       
    21 </style>
       
    22 
       
    23       <form method="POST" action=".">
       
    24         <table>
       
    25           {{ form.as_table }}
       
    26         </table>
       
    27         <p><input type="submit" name="Register" value="{% trans "Register" %}" class="btn"></p>
       
    28       </form>
       
    29       <script type="text/javascript">
       
    30 	document.getElementById('id_username').focus();
       
    31       </script>
       
    32    </div>
       
    33 {% endblock %}