changeset 6 | 94136f9a48bc |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pytask/templates/user/register.html Fri Jan 29 21:37:13 2010 +0530 @@ -0,0 +1,17 @@ +{% extends 'base.html' %} +{% block content %} +<form action="/accounts/register/" method="post"> + {{ form.as_p }} + +{% if errors %} + <p style="color: red;"> + Please correct the error{{ errors|pluralize }} below. + {% for i in errors %} + <br>{{ i }} + {% endfor %} + </p> +{% endif %} + +<input type="submit" value="Submit" /> +</form> +{% endblock %}