Mercurial > agora
diff templates/registration/registration_form.html @ 27:e019ca8e14f6
Clean up templates
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Mon, 28 Jun 2010 22:36:53 -0500 |
parents | 2e7226e90157 |
children | eb3371142f4f |
line wrap: on
line diff
--- a/templates/registration/registration_form.html Mon Jun 28 22:02:07 2010 -0500 +++ b/templates/registration/registration_form.html Mon Jun 28 22:36:53 2010 -0500 @@ -1,29 +1,27 @@ -{% extends "controls.djhtml" %} +{% extends "whitebox.djhtml" %} + +{% block boxtitle %} +Registration details +{% endblock %} -{% block content %} + +{% block boxcontents %} +<p> + Please give us some basic information to set up your account. + Valid usernames consist of letters, numbers, and underscores. +</p> -<div class="info"> - <h3> - Registration details - </h3> - <div class="whitebox"> - <p> - Please give us some basic information to set up your account. - Valid usernames consist of letters, numbers, and underscores. - </p> - {% if form.errors %} - <p class="error"> - Please correct the errors below. - </p> - {% endif %} - <form action="." method="post"> - {% csrf_token %} - <table> - {{form.as_table}} - </table> - <input class="button" type="submit" value="Submit" /> - </form> - </div> -</div> +{% if form.errors %} +<p class="error"> + Please correct the errors below. +</p> +{% endif %} +<form action="." method="post"> + {% csrf_token %} + <table> + {{form.as_table}} + </table> + <input class="button" type="submit" value="Submit" /> +</form> {% endblock %}