mirror of
https://github.com/bodyrep/bodyrep-sandpit.git
synced 2026-02-03 02:31:38 +00:00
Django import
Django import
This commit is contained in:
35
django/templates/app/editProfile.html
Normal file
35
django/templates/app/editProfile.html
Normal file
@@ -0,0 +1,35 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user