]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/UserBundle/Resources/views/Resetting/request_content.html.twig
Forgot a double quote
[github/wallabag/wallabag.git] / src / Wallabag / UserBundle / Resources / views / Resetting / request_content.html.twig
1 {% trans_default_domain 'FOSUserBundle' %}
2
3 <form action="{{ path('fos_user_resetting_send_email') }}" method="POST" class="fos_user_resetting_request">
4 <div class="card-content">
5 <div class="row">
6 <p>{{ 'security.resetting.description'|trans({}, "messages") }}</p>
7
8 {% for flashMessage in app.session.flashbag.get('notice') %}
9 <span class="black-text"><p>{{ flashMessage }}</p></span>
10 {% endfor %}
11
12 {% if invalid_username is defined %}
13 <p>{{ 'resetting.request.invalid_username'|trans({'%username%': invalid_username}) }}</p>
14 {% endif %}
15
16 <div class="input-field col s12">
17 <label for="username">{{ 'resetting.request.username'|trans }}</label>
18 <input type="text" id="username" name="username" required="required" />
19 </div>
20 </div>
21 </div>
22 <div class="card-action center">
23 <a href="{{ path('fos_user_security_login') }}" class="waves-effect waves-light grey btn">
24 <i class="material-icons left"></i> {{ 'security.login.submit'|trans({}, "messages") }}
25 </a>
26 <button class="btn waves-effect waves-light" type="submit" name="send">
27 {{ 'resetting.request.submit'|trans }}
28 </button>
29 </div>
30 </form>