From 2acac101f19b216b4f8e6e8f428b0e7d342a167e Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 22 Sep 2022 16:30:14 -0400 Subject: [PATCH] More spacing fixes. This time in _formhelpers --- flaskr/templates/_formhelpers.jinja2 | 23 +++++++++++++---------- flaskr/templates/writing.jinja2 | 3 +-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/flaskr/templates/_formhelpers.jinja2 b/flaskr/templates/_formhelpers.jinja2 index 9289c12..cf68b33 100644 --- a/flaskr/templates/_formhelpers.jinja2 +++ b/flaskr/templates/_formhelpers.jinja2 @@ -1,12 +1,15 @@ {% macro render_field(field, extra="") %} -
{{ field.label }} -
{{ field(**kwargs)|safe }} -{% if field.errors %} - -{% endif %} -
+
{{ field.label }}
+ +
+ {{ field(**kwargs)|safe }} + + {% if field.errors %} + + {% endif %} +
{% endmacro %} diff --git a/flaskr/templates/writing.jinja2 b/flaskr/templates/writing.jinja2 index f631bfd..d788396 100644 --- a/flaskr/templates/writing.jinja2 +++ b/flaskr/templates/writing.jinja2 @@ -3,8 +3,7 @@ UnderCover - +