From 4a8191301b4669a168eb2a84784d03d9365f0c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Fri, 26 Oct 2018 00:59:58 -0400 Subject: [PATCH] Style fields with labels --- agaric/templates/field/field.html.twig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/agaric/templates/field/field.html.twig b/agaric/templates/field/field.html.twig index 1251b28..817845c 100644 --- a/agaric/templates/field/field.html.twig +++ b/agaric/templates/field/field.html.twig @@ -72,16 +72,16 @@ {{ item.content}} {% endfor %} {% else %} - - {{ label }} + + {{ label }} {% if multiple and use_item_wrapper %}
{% endif %} {% for item in items %} - {{ helpers.render_item(item, item_classes, use_item_wrapper) }} + {{ helpers.render_item(item, item_classes, use_item_wrapper) }} {% endfor %} {% if multiple and use_item_wrapper %}
{% endif %} - +

{% endif %}