project/templates/registration/registration_form.html
changeset 24 bb1f31e9c3ab
equal deleted inserted replaced
23:3cb3f853a193 24:bb1f31e9c3ab
       
     1 {% extends "base.html" %}
       
     2 
       
     3 {% load i18n %}
       
     4 
       
     5 {% block content %}
       
     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 %}