diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:54:17 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:54:17 +0100 |
commit | b57452f68de8f73c63222c61fdae84f900c3a190 (patch) | |
tree | 89d7af037d3bbaa1cfd303bcc2d87bb9507cc0ba /templates/profiles/select_profile.html | |
parent | 24dc7c5a0c996945a0709f8e82b026914ee9dbfc (diff) | |
download | troggle-b57452f68de8f73c63222c61fdae84f900c3a190.tar.gz troggle-b57452f68de8f73c63222c61fdae84f900c3a190.tar.bz2 troggle-b57452f68de8f73c63222c61fdae84f900c3a190.zip |
[svn] Enable profile setup forms.
Profiles are Person model instances, and are linked to django's built in User model by a one to one foreign key.
We are using the django-registration and django-profiles pluggables.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8247 by aaron @ 2/18/2009 9:35 PM
Diffstat (limited to 'templates/profiles/select_profile.html')
-rw-r--r-- | templates/profiles/select_profile.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/profiles/select_profile.html b/templates/profiles/select_profile.html new file mode 100644 index 0000000..7e32597 --- /dev/null +++ b/templates/profiles/select_profile.html @@ -0,0 +1,13 @@ +{% extends "base.html" %}
+
+{% block content %}
+
+<form method="post">
+{{ form.as_p }}
+<input type="submit" />
+</form>
+
+{% if form.errors %}
+ <p class="errornote">Please correct the errors below</p>
+{% endif %}
+{% endblock %}
\ No newline at end of file |