This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
nikolark 6d6a4a0a13 Switches to twitter bootstrap styling
- jQuery 1.7.1
 - Replaces jquery-qtip with bootstrap alternative
 - Responsive design
 - Misc fixes
2012-02-12 03:49:11 +01:00

35 lines
1.3 KiB
HTML

{% extends "base.html" %}
{% block title %}Endre passordet ditt{% endblock %}
{%block header%}
{% include "nav.html" with active="password_change" %}
{%endblock%}
{% block content %}
<div class="row-fluid">
<form method="post" class="form-horizontal">
<fieldset>
<legend>Endre passordet mitt.</legend>
{% if form.non_field_errors %}
{{ form.non_field_errors }}<br />
{% endif %}
{% csrf_token %}
<div class="control-group">
<label class="control-label" for="id_new_password1">Nytt passord:</label>
<div class="controls">
{{ form.new_password1 }} {{ form.new_password1.errors }}
</div>
</div>
<div class="control-group">
<label class="control-label" for="id_new_password2">Nytt passord (gjenta):</label>
<div class="controls">
{{ form.new_password2 }} {{ form.new_password2.errors }}
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary">Endre passordet mitt</button> <a href="/accounts/profile/" class="btn">Avbryt</a>
</div>
</fieldset>
</form>
</div>
{% endblock %}