added files edit_profile.html and my_profile.html.
authoranoop
Thu, 04 Feb 2010 23:13:03 +0530
changeset 24 fcae44e94845
parent 23 f33084ea1361
child 25 c0e4fc8b8b5b
added files edit_profile.html and my_profile.html.
templates/user/edit_profile.html
templates/user/my_profile.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/user/edit_profile.html	Thu Feb 04 23:13:03 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/templates/user/my_profile.html	Thu Feb 04 23:13:03 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 %}