From 8e00477e0edf229dec2961dcbfe643a500a6b2a0 Mon Sep 17 00:00:00 2001 From: Dominic Taylor Date: Thu, 14 Sep 2017 10:23:54 +0100 Subject: [PATCH] add errors to multi options --- templates/look-and-feel/components/fields.njk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/look-and-feel/components/fields.njk b/templates/look-and-feel/components/fields.njk index 0cdf2d0..5d6e83e 100644 --- a/templates/look-and-feel/components/fields.njk +++ b/templates/look-and-feel/components/fields.njk @@ -59,7 +59,11 @@ hideQuestion=true, inline=false, type='radio') %} - +
+ + {{ errorsFor(field) }} + + {% if hideQuestion %} @@ -95,7 +99,7 @@ {%- endfor %} - +
{% endmacro %} {% macro errorsFor(field) -%}