{# storage: str | None uploader: str | None file_attrs: dict[str, str] | None with_dropzone: bool | None #} {% import 'macros/form.html' as form %} {% block uploader %}
{% block form %}
{{ form.input("upload", label="File", type="file", attrs=dict({ "class": "form-control", "data-queue-scheduler": true, }, **file_attrs|default({}))) }}
{% endblock form %} {% block dropzone %} {% if with_dropzone %}
{{ _("Drag a file here") }}
{% endif %} {% endblock dropzone%} {% block progress %}
{% endblock progress %}
{% endblock %}