{% set errors = errors | default([]) %}
<div class="text-area form-group {{ (errors | length > 0) ? 'has-error': '' }} {{ styleModifier|default('') }}">
<div class="{{ inputWrapperModifier|default('') }}">
{{ include('Form/Includes/form-control-label.html.twig', _context) }}
<textarea
name="{{ name }}"
id="{{ id }}"
class="form-control {{ (errors | length > 0 )? 'is-invalid': '' }} {{ inputModifier|default('') }}"
rows="{{ rows|default(0) ? rows : '8' }}"
placeholder="{{ placeholder|default('') }}"
{{ required|default(false) ? 'required' : '' }}
{{ disabled|default(false) ? 'disabled' : '' }}
{{ readonly|default(false) ? 'readonly' : '' }}
{{ helpText | default(null) ? 'aria-describedby="' ~ id ~'-help-block"' : '' }}
{% for key, value in inputAttributes | default([]) %}
{{key}}="{{value}}"
{% endfor %}
>{{ value|default('') }}</textarea>
</div>
{{ include('Form/Includes/form-errors.html.twig', _context) }}
{{ include('Form/Includes/form-control-help-text.html.twig', _context) }}
</div>