]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig
first implementation of security
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / Security / login.html.twig
CommitLineData
c3235553
NL
1{% extends "WallabagCoreBundle::layout-login.html.twig" %}
2
3{% block title %}{% trans %}login to your wallabag{% endtrans %}{% endblock %}
4{% block content %}
5 {% if error %}
6 <div>{{ error.message }}</div>
7 {% endif %}
8
9 <form action="{{ path('login_check') }}" method="post" name="loginform">
10 <fieldset class="w500p center">
11 <h2 class="mbs txtcenter">{% trans %}Login to wallabag{% endtrans %}</h2>
12
13 <div class="row">
14 <label class="col w150p" for="username">{% trans %}Username{% endtrans %}</label>
15 <input type="text" id="username" name="_username" value="{{ last_username }}" />
16 </div>
17
18 <div class="row">
19 <label class="col w150p" for="password">{% trans %}Password{% endtrans %}</label>
20 <input type="password" id="password" name="_password" />
21 </div>
22 {#
23 Si vous voulez contrôler l'URL vers laquelle l'utilisateur est redirigé en cas de succès
24 (plus de détails ci-dessous)
25 <input type="hidden" name="_target_path" value="/account" />
26 #}
27 <div class="row mts txtcenter">
28 <button type="submit">login</button>
29 </div>
30 </fieldset>
31 </form>
32{% endblock %}