From c2080606d8822e21edaad627d7deda1f114aa003 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 10 May 2013 21:52:37 +0000 Subject: Sign in template looking pretty good --- wqflask/wqflask/templates/base.html | 4 +- wqflask/wqflask/templates/security/_macros.html | 13 +++++ wqflask/wqflask/templates/security/login_user.html | 59 +++++++++++++++++----- 3 files changed, 60 insertions(+), 16 deletions(-) diff --git a/wqflask/wqflask/templates/base.html b/wqflask/wqflask/templates/base.html index 69117d89..470ac9db 100644 --- a/wqflask/wqflask/templates/base.html +++ b/wqflask/wqflask/templates/base.html @@ -68,10 +68,10 @@
+ + {% if field.errors %} +
{{ field(**kwargs)|safe }}
{% endmacro %} diff --git a/wqflask/wqflask/templates/security/login_user.html b/wqflask/wqflask/templates/security/login_user.html index b5fcbfdc..76f28094 100644 --- a/wqflask/wqflask/templates/security/login_user.html +++ b/wqflask/wqflask/templates/security/login_user.html @@ -1,17 +1,48 @@ -{% from "security/_macros.html" import render_field_with_errors, render_field %} +{% from "security/_macros.html" import render_only_errors %} {% include "security/_messages.html" %} -