From 48ba921c234abb218b14d7f1ae4d5b017ab8d388 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 17 May 2013 20:59:50 +0000 Subject: Added flask_security locally --- wqflask/flask_security/templates/security/_macros.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 wqflask/flask_security/templates/security/_macros.html (limited to 'wqflask/flask_security/templates/security/_macros.html') diff --git a/wqflask/flask_security/templates/security/_macros.html b/wqflask/flask_security/templates/security/_macros.html new file mode 100644 index 00000000..8575f3db --- /dev/null +++ b/wqflask/flask_security/templates/security/_macros.html @@ -0,0 +1,16 @@ +{% macro render_field_with_errors(field) %} +
+ {{ field.label }} {{ field(**kwargs)|safe }} + {% if field.errors %} +
{{ field(**kwargs)|safe }}
+{% endmacro %} \ No newline at end of file -- cgit v1.2.3