diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-03 08:25:11 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-03 08:25:11 +0200 |
commit | 8cbb2a88024969f7efd90f8053f3b0805fa2f8fa (patch) | |
tree | 0bb5c7fb3adc752d9ea9a933b524bd08631ca11a /tpl/login.twig | |
parent | c67e13e04baab64bcc63fd0dca46125513250c44 (diff) | |
download | wallabag-8cbb2a88024969f7efd90f8053f3b0805fa2f8fa.tar.gz wallabag-8cbb2a88024969f7efd90f8053f3b0805fa2f8fa.tar.zst wallabag-8cbb2a88024969f7efd90f8053f3b0805fa2f8fa.zip |
twig implementation
Diffstat (limited to 'tpl/login.twig')
-rw-r--r-- | tpl/login.twig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tpl/login.twig b/tpl/login.twig index 390718b6..c95a5f02 100644 --- a/tpl/login.twig +++ b/tpl/login.twig | |||
@@ -1,5 +1,15 @@ | |||
1 | {% extends "layout.twig" %} | 1 | {% extends "layout.twig" %} |
2 | |||
2 | {% block title %}Login{% endblock %} | 3 | {% block title %}Login{% endblock %} |
4 | {% block messages %} | ||
5 | <div class="messages"> | ||
6 | <ul> | ||
7 | {% for error in errors %} | ||
8 | <li>{{ error.value|e }}</li> | ||
9 | {% endfor %} | ||
10 | </ul> | ||
11 | </div> | ||
12 | {% endblock %} | ||
3 | {% block content %} | 13 | {% block content %} |
4 | <form method="post" action="?login" name="loginform"> | 14 | <form method="post" action="?login" name="loginform"> |
5 | <fieldset class="w500p center"> | 15 | <fieldset class="w500p center"> |