Crazily add the container class to all (form) containers)

This commit is contained in:
benjamin melançon 2018-11-12 11:07:33 -05:00
parent 37215f014f
commit 52885edbbf

View file

@ -1,3 +1,4 @@
{% extends "@stable/form/container.html.twig" %}
{% set attributes = attributes.addClass("field") %}
{# TODO this should never be both at once, so a huge TODO is to add template
suggestions for the container template. Right now there are *none* #}
{% set attributes = attributes.addClass(["field", "container"]) %}