From e981ef917a3cb09508b11fd431b44e3dc34a3275 Mon Sep 17 00:00:00 2001 From: luis cielak Date: Wed, 8 Aug 2018 23:34:26 -0400 Subject: [PATCH] Place error icon next to text input box --- templates/components/text_input.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/components/text_input.html b/templates/components/text_input.html index 1f272934..80c24ec2 100644 --- a/templates/components/text_input.html +++ b/templates/components/text_input.html @@ -1,3 +1,5 @@ +{% from "components/icon.html" import Icon %} + {% macro TextInput(field, placeholder='') -%}
{{ field(placeholder=placeholder) | safe }} @@ -20,4 +20,4 @@ {% endfor %} {% endif %}
-{%- endmacro %} +{%- endmacro %} \ No newline at end of file