aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-08-24 19:58:23 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-13 13:35:12 +0200
commita78d6afeaafb372cb5d620db7361b8ad98f070dc (patch)
tree4917f43d28bf671b50830ce3e3607d5ec57ad8f6 /src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig
parent4d5fd9be812825c480589cdcfcec281ffb5aa66a (diff)
downloadwallabag-a78d6afeaafb372cb5d620db7361b8ad98f070dc.tar.gz
wallabag-a78d6afeaafb372cb5d620db7361b8ad98f070dc.tar.zst
wallabag-a78d6afeaafb372cb5d620db7361b8ad98f070dc.zip
Move baggy theme in its folder
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig b/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig
deleted file mode 100644
index 5437d20c..00000000
--- a/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig
+++ /dev/null
@@ -1,39 +0,0 @@
1{% extends "WallabagCoreBundle::layout.html.twig" %}
2
3{% block title %}{% trans %}login to your wallabag{% endtrans %}{% endblock %}
4
5{% block body_class %}login{% endblock %}
6
7{% block menu %}{% endblock %}
8{% block messages %}{% endblock %}
9
10{% block content %}
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>
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 %}
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>
31
32 <div class="row mts txtcenter">
33 <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
34 <button type="submit">Login</button>
35 <a href="{{ path('forgot_password') }}" class="small">Forgot your password?</a>
36 </div>
37 </fieldset>
38 </form>
39{% endblock %}