{% set errors = errors | default([]) %}
<div class="form-group form-group--search {{ (errors | length > 0) ? 'has-error': '' }} {{ styleModifier }}">
<div class="{{ inputWrapperModifier }}">
{% if label|default(false) %}
{{ include('Form/Includes/form-control-label.html.twig', _context) }}
{% endif %}
<input type="{{ type|default('text') }}"
class="form-control {{ (errors | length > 0 )? 'is-invalid': '' }} {{ inputModifier|default('') }}"
name="{{ name }}"
id="{{ id }}"
autocomplete="off"
placeholder="{{ placeholder|default('') }}"
value="{{ value }}"
{{ 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 %}
>
<div class="btn form-group--search__btn" aria-hidden="true">
<span class="icon icon-search" aria-label="{{ 'sr.Suche'|trans }}" title="{{ 'sr.Suche'|trans }}"></span>
</div>
</div>
{{ include('Form/Includes/form-errors.html.twig', _context) }}
{{ include('Form/Includes/form-control-help-text.html.twig', _context) }}
</div>