contentdb/app/templates/users/change_set_password.html

31 lines
909 B
HTML
Raw Normal View History

2018-05-29 19:07:23 +02:00
{% extends "base.html" %}
{% block title %}
Set Password
{% endblock %}
{% block content %}
2022-01-08 00:27:00 +01:00
<h1>{{ _("Set Password") }}</h1>
2018-05-29 19:07:23 +02:00
{% from "macros/forms.html" import render_field, render_submit_field %}
<form action="" method="POST" class="form" role="form">
{{ form.hidden_tag() }}
2018-05-29 19:07:23 +02:00
2020-12-05 00:07:19 +01:00
{% if form.email and not current_user.email %}
{{ render_field(form.email, tabindex=220,
hint=_("Your email is needed to recover your account if you forget your password and to send (configurable) notifications. ") +
_("Your email will never be shared with a third-party.")) }}
{% endif %}
2018-05-29 19:07:23 +02:00
2020-12-05 00:07:19 +01:00
{% if form.old_password %}
{{ render_field(form.old_password, tabindex=230) }}
{% endif %}
2023-08-26 15:54:58 +02:00
{{ render_field(form.password, tabindex=230, hint=_("Must be at least 12 characters long.")) }}
{{ render_field(form.password2, tabindex=240) }}
2018-05-29 19:07:23 +02:00
{{ render_submit_field(form.submit, tabindex=280) }}
2018-05-29 19:07:23 +02:00
</form>
{% endblock %}