<div class="my-2">
    {% include "core/basic_elements/label.html" %}
    <input id="{{ context.component.component_id }}-{{ name }}"
           name="{{ name }}"
           type="file"
           class="form-control"
           hx-post="{% url 'htmx:component' component.component_id %}"
           hx-encoding="multipart/form-data"
           {% if file_type %}accept="{{ file_type }}"{% endif %}
           {% if not defer %}{% htmx_post indicator=indicator %}{% endif %}
           {% if allow_multiple %}multiple{% endif %}>
</div>
