]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/views/themes/baggy/Security/login.html.twig
Merge pull request #1420 from modos189/v2_display_picture
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / baggy / Security / login.html.twig
CommitLineData
495aecfe 1{% extends "WallabagCoreBundle::layout.html.twig" %}
c3235553
NL
2
3{% block title %}{% trans %}login to your wallabag{% endtrans %}{% endblock %}
495aecfe
J
4
5{% block body_class %}login{% endblock %}
6
7{% block menu %}{% endblock %}
6894d48e 8{% block messages %}{% endblock %}
495aecfe 9
c3235553 10{% block content %}
c3235553
NL
11 <form action="{{ path('login_check') }}" method="post" name="loginform">
12 <fieldset class="w500p center">
13 <h2 class="mbs txtcenter">{% trans %}Login to wallabag{% endtrans %}</h2>
6894d48e
J
14 {% if error %}
15 <div>{{ error.message }}</div>
16 {% endif %}
17
18 {% for flashMessage in app.session.flashbag.get('notice') %}
19 <p>{{ flashMessage }}</p>
20 {% endfor %}
c3235553
NL
21
22 <div class="row">
23 <label class="col w150p" for="username">{% trans %}Username{% endtrans %}</label>
24 <input type="text" id="username" name="_username" value="{{ last_username }}" />
25 </div>
26
27 <div class="row">
28 <label class="col w150p" for="password">{% trans %}Password{% endtrans %}</label>
29 <input type="password" id="password" name="_password" />
30 </div>
495aecfe 31
c3235553 32 <div class="row mts txtcenter">
a1691859 33 <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
6894d48e
J
34 <button type="submit">Login</button>
35 <a href="{{ path('forgot_password') }}" class="small">Forgot your password?</a>
c3235553
NL
36 </div>
37 </fieldset>
38 </form>
39{% endblock %}