Django import

Django import
This commit is contained in:
Alex Lewis
2012-09-28 21:05:33 +10:00
parent 0cd92dfa9f
commit b0eb5ba9e1
118 changed files with 12494 additions and 11290 deletions

View 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>&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 %}