diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-06-16 08:03:58 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-06-16 08:03:58 +0200 |
commit | c2ad766641020930478917879d39ba61908c6fa1 (patch) | |
tree | f750c421701f4568fe546cfda28dd28a6d7598b1 /pyaggr3g470r/templates/recover.html | |
parent | Updated translations. (diff) | |
download | newspipe-c2ad766641020930478917879d39ba61908c6fa1.tar.gz newspipe-c2ad766641020930478917879d39ba61908c6fa1.tar.bz2 newspipe-c2ad766641020930478917879d39ba61908c6fa1.zip |
Enables the user to recover its account when he has forgotten its password.
Diffstat (limited to 'pyaggr3g470r/templates/recover.html')
-rw-r--r-- | pyaggr3g470r/templates/recover.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/recover.html b/pyaggr3g470r/templates/recover.html new file mode 100644 index 00000000..8e690bdb --- /dev/null +++ b/pyaggr3g470r/templates/recover.html @@ -0,0 +1,22 @@ +{% extends "layout.html" %} +{% block content %} +<div class="container"> + <div class="jumbotron"> + <h2>{{ _('Recover your account') }}</h2> + + {% for message in form.email.errors %} + <div class="flash">{{ message }}</div> + {% endfor %} + + <form action="{{ url_for('recover') }}" method=post> + {{ form.hidden_tag() }} + + <div class="form-group"> + {{ form.email(class_="form-control", placeholder=_('Your email')) }} + </div> + + {{ form.submit(class_="btn") }} + </form> + </div> +</div><!-- /.container --> +{% endblock %}
\ No newline at end of file |