PageRenderTime 18ms CodeModel.GetById 14ms app.highlight 4ms RepoModel.GetById 0ms app.codeStats 0ms

/solace/templates/core/reset_password.html

https://bitbucket.org/muhuk/solace
HTML | 24 lines | 24 code | 0 blank | 0 comment | 0 complexity | e0e54625e0f757630794a6b4d895f5e8 MD5 | raw file
Possible License(s): BSD-3-Clause
 1{% extends 'layout.html' %}
 2{% set page_title = _('Reset Password') %}
 3{% block body %}
 4  <h1>{{ page_title }}</h1>
 5  {% if new_password %}
 6  <p>{% trans change_url=url_for('users.edit_profile') %}
 7    <p>Your password was reset to <code>{{ new_password }}</code>.  Please
 8    make sure to <a href="{{ change_url }}">change it</a> as soon as possible.
 9  {% endtrans %}
10  {% else %}
11  <div class="explanation">{% trans %}
12    <p>In order to reset your password enter either your username
13       or e-mail address.  We will then send you you a link to your
14       e-mail address with a link to reset the password.
15  {% endtrans %}</div>
16  {% call form() %}
17    {{ form.as_dl() }}
18    {{ form.captcha or '' }}
19    <div class="buttons">
20      <input type="submit" value="{{ _('Reset Password') }}">
21    </div>
22  {% endcall %}
23  {% endif %}
24{% endblock %}