From cdb9f2471046fde78765a293985b47ead815c633 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 12 Mar 2020 17:26:00 +0100 Subject: Improved login form. --- newspipe/templates/layout.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'newspipe/templates/layout.html') diff --git a/newspipe/templates/layout.html b/newspipe/templates/layout.html index b40b540c..459727de 100644 --- a/newspipe/templates/layout.html +++ b/newspipe/templates/layout.html @@ -120,12 +120,16 @@ {% block messages %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} - {% for category, message in messages %} -
- - {{ message }} +
+
+ {% for category, message in messages %} +
+ + {{ message }} +
+ {% endfor %}
- {% endfor %} +
{% endif %} {% endwith %} {% endblock %} -- cgit