<div class="fileInputAndPreviewContainer">
    {% if input_value is not empty %}
        <a href="/{{ attributes['file_path'] }}/{{ input_value }}" alt="" target="_blank" />
            <i class="fa fa-file-o fileInputPreview"></i>
        </a>
        <input
            class="fileInputDeleteCheckbox"
            type="checkbox"
            value=""
            id="_data{{ attributes['input_name'] }}[delete]"
            name="{{ attributes['input_name'] }}"
        />
        <label for="_data{{ attributes['input_name'] }}[delete]"><i class="fa fa-trash"></i></label>
    {% endif %}
    <input
        type="{{ attributes['type'] }}"
        name="{{ attributes['input_name'] }}"
        id="{{ attributes['id'] }}"
        class="{{ attributes['class'] }}"
        {% for attribute_name, value in additional_attributes %}
            {{ attribute_name }}="{{ value }}"
        {% endfor %}
    />
    {{ info | raw }}
</div>
