project/templates/user/editprofile.html
author Parth buch <parth.buch.115@gmail.com>
Sat, 01 Oct 2011 03:59:03 +0530
branch2011
changeset 429 cde70fd3073c
parent 123 d4799b7159e4
permissions -rw-r--r--
changed the handler404 and handler500 to a custom view, passing scope to get proper formed urls when displaying 404 and 500 pages

{% extends "base.html" %}

{% block title %}Edit Your Profile{% endblock %}

{% block content %}
    <h1>Edit Your Profile</h1>


    <form action="{% url scipycon_edit_profile params.scope %}"
          enctype="multipart/form-data"
          method="post">
                <fieldset>
                    <legend>Edit Profile</legend>
                    <table class="scipycon-default">
                        {{ form }}
                    </table>
                    <input type="hidden"
                           name="action"
                           value="email" />
        
                    <input class="button left"
                           type="submit"
                           value="Save Changes" />
        
    </fieldset>
    </form>
{% endblock %}