Files
bodyrep-sandpit/django/templates/app/editProfile.html
Alex Lewis b0eb5ba9e1 Django import
Django import
2012-09-28 21:05:33 +10:00

36 lines
932 B
HTML

{% block content %}
<h1>Update Profile</h1>
<form action="{% url msave %}" method="post" id="profile">
<div>
{% if edit_form.errors %}
{% for field, error in edit_form.errors.items %}
{{ error|safe }}
{% endfor %}
{% endif %}
</div>
<div>
{{ edit_form.firstname.label_tag }}
{{ edit_form.firstname }}
</div>
<div>
{{ edit_form.lastname.label_tag }}
{{ edit_form.lastname }}
</div>
<div>&nbsp;</div>
<div>
<label for="newpass1">New Password:</label><br />
<input type="password" id="newpass1" name="_newpass1" /> <br />
<input type="password" id="newpass2" name="_newpass2" />
</div>
<div>&nbsp;</div>
<input type="submit" class="btn btn-primary btn-small" value="Save" />
{% csrf_token %}
</form>
{% endblock %}