diff options
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"> |