From 93fc4f43650ff93ebcaa618761309f40fc8b0a5f Mon Sep 17 00:00:00 2001 From: Zoltan Horvath Date: Thu, 29 Nov 2018 15:49:37 +0100 Subject: [PATCH] Issue #15 #19: Move checkboxes and radios error message below the set. --- templates/fieldset.html.twig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/fieldset.html.twig b/templates/fieldset.html.twig index 0a51c68..ebd2602 100644 --- a/templates/fieldset.html.twig +++ b/templates/fieldset.html.twig @@ -45,11 +45,6 @@ {{ legend.title }}
- {% if errors %} -
- {{ errors }} -
- {% endif %} {% if prefix %} {{ prefix }} {% endif %} @@ -57,6 +52,11 @@ {% if suffix %} {{ suffix }} {% endif %} + {% if errors %} +
+ {{ errors }} +
+ {% endif %} {% if description.content %} {{ description.content }}
{% endif %}