diff options
author | anoop | 2010-02-04 23:13:03 +0530 |
---|---|---|
committer | anoop | 2010-02-04 23:13:03 +0530 |
commit | 54f307faa17ac411336c261a7acc57edb6df7d1a (patch) | |
tree | 89a8f8ad22183e095ab95ac798be05b2fbc93f28 | |
parent | 00142ae87491e58a464e0d24232fee608293ea88 (diff) | |
download | pytask-54f307faa17ac411336c261a7acc57edb6df7d1a.tar.gz pytask-54f307faa17ac411336c261a7acc57edb6df7d1a.tar.bz2 pytask-54f307faa17ac411336c261a7acc57edb6df7d1a.zip |
added files edit_profile.html and my_profile.html.
-rw-r--r-- | templates/user/edit_profile.html | 7 | ||||
-rw-r--r-- | templates/user/my_profile.html | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/templates/user/edit_profile.html b/templates/user/edit_profile.html new file mode 100644 index 0000000..d0a0ae1 --- /dev/null +++ b/templates/user/edit_profile.html @@ -0,0 +1,7 @@ +{% extends 'base.html' %} +{% block content %} +<form action="/user/edit/" method="post"> +{{ edit_profile_form.as_p }} +<input type="submit" value="Apply Changes" /> +</form> +{% endblock %} diff --git a/templates/user/my_profile.html b/templates/user/my_profile.html new file mode 100644 index 0000000..366d089 --- /dev/null +++ b/templates/user/my_profile.html @@ -0,0 +1,11 @@ +{% extends 'base.html' %} +{% block content %} + +{% if edit_profile %} + <a href="/user/edit/">edit my profile</a> +{% endif %} + +<br> +{{ view_profile_form.as_p }} + +{% endblock %} |