diff --git a/templates/_helpers.html b/templates/_helpers.html index a45de02..9b6eaca 100644 --- a/templates/_helpers.html +++ b/templates/_helpers.html @@ -1,5 +1,12 @@ {% macro render_field(field) %} -
{{ field.label(class_="control-label col-sm-3") }}
{{ field(class_="form-control") }}
{% for error in field.errors %}[ {{ error }} ]{% endfor %}
+
{{ field.label(class_="control-label col-sm-3") }} +
{{ field(class_="form-control") }}
+ {% for error in field.errors %} + + Error: + {{ error }} + {% endfor %} +
{%- endmacro %} {% macro render_button(button) %}