mirror of
https://github.com/bodyrep/bodyrep-sandpit.git
synced 2026-01-27 15:21:42 +00:00
36 lines
932 B
HTML
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> </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> </div>
|
|
|
|
<input type="submit" class="btn btn-primary btn-small" value="Save" />
|
|
{% csrf_token %}
|
|
|
|
</form>
|
|
{% endblock %}
|