added files edit_profile.html and my_profile.html.
authoranoop
Mon, 01 Feb 2010 14:14:04 +0530
changeset 17 9ca9f98af0eb
parent 16 d57e63325759
child 19 2cff66e3386a
added files edit_profile.html and my_profile.html.
pytask/templates/user/edit_profile.html
pytask/templates/user/my_profile.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pytask/templates/user/edit_profile.html	Mon Feb 01 14:14:04 2010 +0530
@@ -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 %}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pytask/templates/user/my_profile.html	Mon Feb 01 14:14:04 2010 +0530
@@ -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 %}