You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
729 B
26 lines
729 B
{# |
|
/** |
|
* @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>
|
|
|