Mercurial > hg > isophonics-drupal-site
view core/themes/classy/templates/content-edit/text-format-wrapper.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
{# /** * @file * Theme override for a text format-enabled form element. * * Available variables: * - children: Text format element children. * - description: Text format element description. * - attributes: HTML attributes for the containing element. * - aria_description: Flag for whether or not an ARIA description has been * added to the description container. * * @see template_preprocess_text_format_wrapper() */ #} <div class="js-text-format-wrapper text-format-wrapper js-form-item form-item"> {{ children }} {% if description %} {% set classes = [ aria_description ? 'description', ] %} <div{{ attributes.addClass(classes) }}>{{ description }}</div> {% endif %} </div>