1 {% extends "WallabagCoreBundle::layout.html.twig" %}
3 {% block title %}{% trans %}Forgot password{% endtrans %}{% endblock %}
5 {% block body_class %}login{% endblock %}
7 {% block menu %}{% endblock %}
10 <main class="valign-wrapper">
11 <div class="valign row">
12 <h1>{% trans %}Forgot password{% endtrans %}</h1>
14 <form action="{{ path('forgot_password') }}" method="post" name="forgotPasswordform">
15 <div class="card-content">
17 <span class="card-title black-text"><p>{% trans %}Enter your email address below and we'll send you password reset instructions.{% endtrans %}</p></span>
19 {% if form_errors(form) %}
20 <span class="black-text">{{ form_errors(form) }}</span>
23 {% for flashMessage in app.session.flashbag.get('notice') %}
24 <span class="black-text"><p>{{ flashMessage }}</p></span>
27 {% if form_errors(form.email) %}
28 <span class="black-text">{{ form_errors(form.email) }}</span>
31 <div class="input-field s12">
32 {{ form_label(form.email) }}
33 {{ form_widget(form.email) }}
37 <div class="card-action">
38 <button class="btn waves-effect waves-light" type="submit" name="send">
39 {% trans %}Send{% endtrans %}
40 <i class="mdi-content-send right"></i>
47 <a href="{{ path('login') }}">{% trans %}Back to login{% endtrans %}</a>