]>
Commit | Line | Data |
---|---|---|
2db616b5 NL |
1 | {% extends "WallabagUserBundle::layout.html.twig" %} |
2 | ||
3 | {% block fos_user_content %} | |
4 | <form class="form" action="" method="post"> | |
5 | <fieldset class="w500p center"> | |
6 | {% for flashMessage in app.session.flashbag.get("two_factor") %} | |
7 | <p class="error">{{ flashMessage|trans }}</p> | |
8 | {% endfor %} | |
9 | ||
10 | <div class="row"> | |
11 | <label for="_auth_code">{{ "scheb_two_factor.auth_code"|trans }}</label> | |
12 | <input id="_auth_code" type="text" autocomplete="off" name="_auth_code" /> | |
13 | </div> | |
14 | ||
15 | {% if useTrustedOption %} | |
16 | <div class="row"> | |
17 | <input id="_trusted" type="checkbox" name="_trusted" /> | |
18 | <label for="_trusted">{{ "scheb_two_factor.trusted"|trans }}</label> | |
19 | </div> | |
20 | {% endif %} | |
21 | ||
22 | <div class="row mts txtcenter"> | |
23 | <a href="{{ path('fos_user_security_logout') }}" class="waves-effect waves-light grey btn"><i class="material-icons left"></i> {% trans %}Cancel{% endtrans %}</a> | |
24 | <button type="submit" name="send"> | |
25 | {{ "scheb_two_factor.login"|trans }} | |
26 | <i class="mdi-content-send right"></i> | |
27 | </button> | |
28 | </div> | |
29 | </fieldset> | |
30 | ||
31 | </form> | |
32 | {% endblock %} |