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
neuf-userinfo/templates/registration/password_reset_confirm.html
2014-07-02 12:53:53 +02:00

37 lines
1.5 KiB
HTML

{% extends "base.html" %}
{% block title %}Bekreft nytt passord{% endblock %}
{% block content %}
<div class="row-fluid">
<!--Presents a form for entering a new password.-->
{% if validlink %}
Vennligst velg et nytt passord. Ditt nye passord må være på miminum 8 tegn.
<form method="post">
<fieldset>
<legend>Endre passordet mitt.</legend>
{{ form.non_field_errors }}
{% 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>
</div>
</fieldset>
</form>
{% else %}
Nytt-passord-lenken er ikke gyldig eller har allerede blitt brukt.
<!--The password reset link is not valid or allready used.-->
{% endif %}
</div>
{% endblock %}