diff options
-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 %} |