v1/web/modules/contrib/gin_lb/templates/form/textarea--gin-lb.html.twig

19 lines
634 B
Twig

{#
/**
* @file
* Theme override for a 'textarea' #type form element.
*
* Available variables
* - wrapper_attributes: A list of HTML attributes for the wrapper element.
* - attributes: A list of HTML attributes for the <textarea> element.
* - resizable: An indicator for whether the textarea is resizable.
* - required: An indicator for whether the textarea is required.
* - value: The textarea content.
*
* @see template_preprocess_textarea()
*/
#}
<div{{ glb_classes(wrapper_attributes.addClass('form-textarea-wrapper')) }}>
<textarea{{ glb_classes(attributes.addClass('form-element')) }}>{{ value }}</textarea>
</div>