src/hdalab/templates/registration/password_change_form.html
author ymh <ymh.work@gmail.com>
Fri, 19 Jul 2024 09:38:03 +0200
changeset 704 b5835dca2624
parent 546 0ca66b267d15
permissions -rw-r--r--
Adapt renkan preview to uses chrome headless/puppeteer
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
335
51225e522007 little changes and auth templates in hdalab base
cavaliet
parents:
diff changeset
     1
{% extends "base.html" %}
384
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
     2
{% load static %}
335
51225e522007 little changes and auth templates in hdalab base
cavaliet
parents:
diff changeset
     3
{% load i18n %}
51225e522007 little changes and auth templates in hdalab base
cavaliet
parents:
diff changeset
     4
384
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
     5
{% block title %}{% trans "Password change" %}{% endblock %}
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
     6
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
     7
{% block css_import %}
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
     8
{{block.super}}
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
     9
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/login.css' %}" />
546
0ca66b267d15 add custom 400, 500 and 404 pages
ymh <ymh.work@gmail.com>
parents: 397
diff changeset
    10
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/forms.css' %}" />
384
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    11
{% endblock %}
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    12
335
51225e522007 little changes and auth templates in hdalab base
cavaliet
parents:
diff changeset
    13
{% block main_content %}
546
0ca66b267d15 add custom 400, 500 and 404 pages
ymh <ymh.work@gmail.com>
parents: 397
diff changeset
    14
<div class="register hdalab-form">
384
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    15
	<h1>{% trans "Changer le mot de passe" %}</h1>
335
51225e522007 little changes and auth templates in hdalab base
cavaliet
parents:
diff changeset
    16
	<form method="post" action=".">
384
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    17
		{% csrf_token %}
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    18
		<p>
397
66e45510eae4 Correct error in Password change page and chang python interpreter name to be python_hdalab
rougeronj
parents: 384
diff changeset
    19
			<label for="password1">{% trans "Ancien mot de passe" %}</label>
66e45510eae4 Correct error in Password change page and chang python interpreter name to be python_hdalab
rougeronj
parents: 384
diff changeset
    20
			{{form.old_password}}
66e45510eae4 Correct error in Password change page and chang python interpreter name to be python_hdalab
rougeronj
parents: 384
diff changeset
    21
		</p>
66e45510eae4 Correct error in Password change page and chang python interpreter name to be python_hdalab
rougeronj
parents: 384
diff changeset
    22
		<p>
384
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    23
			<label for="password1">{% trans "Nouveau mot de passe" %}</label>
397
66e45510eae4 Correct error in Password change page and chang python interpreter name to be python_hdalab
rougeronj
parents: 384
diff changeset
    24
			{{form.new_password1}}
384
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    25
		</p>
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    26
		<p>
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    27
			<label for="password2">{% trans "Nouveau mot de passe (Verification)" %}</label>
397
66e45510eae4 Correct error in Password change page and chang python interpreter name to be python_hdalab
rougeronj
parents: 384
diff changeset
    28
			{{form.new_password2}}
384
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    29
		</p>
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    30
	  	<div class="btn-submit">
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    31
	        	<p><a class="btn-previous" href="{% url 'login' %}">{% trans "Precedent" %}</a><input type="submit" value="{% trans 'Submit' %}" /></p>
83adb3fd0efd Update login (and ajax login), and registration pages
rougeronj
parents: 335
diff changeset
    32
		</div>
335
51225e522007 little changes and auth templates in hdalab base
cavaliet
parents:
diff changeset
    33
	</form>
51225e522007 little changes and auth templates in hdalab base
cavaliet
parents:
diff changeset
    34
</div>
51225e522007 little changes and auth templates in hdalab base
cavaliet
parents:
diff changeset
    35
{% endblock %}