template/register.html
changeset 6 4e819dd96e1f
parent 5 7358eeae14d8
child 7 4976650293f4
equal deleted inserted replaced
5:7358eeae14d8 6:4e819dd96e1f
    18     }
    18     }
    19 </style>
    19 </style>
    20 
    20 
    21       <form method="POST" action=".">
    21       <form method="POST" action=".">
    22         <table>
    22         <table>
    23           {{ form }}
    23           {{ form.as_table }}
    24         </table>
    24         </table>
    25         <p><input type="submit" name="Register" value="{% trans "Register" %}" class="btn"></p>
    25         <p><input type="submit" name="Register" value="{% trans "Register" %}" class="btn"></p>
    26       </form>
    26       </form>
    27       <script type="text/javascript">
    27       <script type="text/javascript">
    28 	document.getElementById('id_username').focus();
    28 	document.getElementById('id_username').focus();