{# /** * @file * Description styling * * Available variables: * - description: Either a singleton (markup), or an array in the format: * - content: A description of the form element, may not be set. * - attributes: (optional) A list of HTML attributes to apply to the * description content wrapper. Will only be set when description is set. #} {% set description_classes = [ 'description', description_display == 'invisible' ? 'visually-hidden', ] %} {% if description is not iterable %} {% set description = { content: description, attributes: create_attribute({}), } %} {% endif %} {% if description.content is not empty %}
{% endif %}