From 63c8cb3c2a580867069b07280570f49ccfb42c51 Mon Sep 17 00:00:00 2001 From: Zoltan Horvath Date: Thu, 29 Nov 2018 15:49:37 +0100 Subject: [PATCH] WIP 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 86fde4f..f3731c2 100644 --- a/templates/fieldset.html.twig +++ b/templates/fieldset.html.twig @@ -37,11 +37,6 @@ {{ legend.title }}
- {% if errors %} -
- {{ errors }} -
- {% endif %} {% if prefix %} {{ prefix }} {% endif %} @@ -49,6 +44,11 @@ {% if suffix %} {{ suffix }} {% endif %} + {% if errors %} +
+ {{ errors }} +
+ {% endif %} {% if description.content %} {{ description.content }}
{% endif %}