<div class="row{{ errors[name] ? ' errorWrap' : '' }}">
    <label for="{{ id }}">
        {{ label|raw }}
        {% if required %}
            <span class="formRequired">*</span>
        {% endif %}
    </label>
    <div class="inputWrap">
        <input type="{{ type ?: 'text' }}"
               name="{{ name }}"
               id="{{ id }}"
               value="{{ value }}"
               class="{{ class ?: 'text' }}"
               placeholder="{{ placeholder }}"
               {{ readonly ? 'readonly' : '' }}
           />
        {% if errors[name] %}
            <div class="validationMessage">
                <span>{{ errors[name]|raw }}</span>
            </div>
        {% endif %}

        {% if notes %}
        <div class="defaultValue">
            <span>{{ notes }}</span>
        </div>
        {% endif %}
    </div>
</div>
