From a9b2781ae3c106932a740377aa6d4c1f9a26be5f Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Sun, 17 Apr 2016 09:34:11 +0200 Subject: [PATCH] custom login form added --- app/templates/security/login_user.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app/templates/security/login_user.html diff --git a/app/templates/security/login_user.html b/app/templates/security/login_user.html new file mode 100644 index 0000000..899eb5a --- /dev/null +++ b/app/templates/security/login_user.html @@ -0,0 +1,15 @@ +{% extends "layout.html" %} +{% from "security/_macros.html" import render_field_with_errors, render_field %} + +{% block body %} +{% include "security/_messages.html" %} +
+ {{ login_user_form.hidden_tag() }} + {{ render_field_with_errors(login_user_form.email) }} + {{ render_field_with_errors(login_user_form.password) }} + {{ render_field_with_errors(login_user_form.remember) }} + {{ render_field(login_user_form.next) }} + {{ render_field(login_user_form.submit) }} +
+{% include "security/_menu.html" %} +{% endblock %}