{% comment %} Include template for bulkfileupload fields. Template context variables: hiddenfieldname (required) Name of the hidden field used to submit the collection ID. singlemode (optional) If this is ``True``, we only allow a single file to be added to the collection. accept (optional) {% endcomment %} {% load i18n %} {% load cradmin_icon_tags %}

{% if overlaymode_autosubmit_uploading_message %} {{ overlaymode_autosubmit_uploading_message }} {% else %} {% if singlemode %} {% trans "We are uploading your file. Please do not close the browser window." %} {% else %} {% trans "We are uploading your files. Please do not close the browser window." %} {% endif %} {% endif %}

{% block droparea-advanced %}
{% block droparea-advanced-content %}
{% block django-cradmin-bulkfileupload-dropbox-text %}

{% if dropbox_text %} {{ dropbox_text }} {% else %} {% if singlemode %} {% trans "Upload a file by dragging and dropping it here" %} {% else %} {% trans "Upload files by dragging and dropping them here" %} {% endif %} {% endif %}

{% endblock django-cradmin-bulkfileupload-dropbox-text %} {% block fileselectbutton-advanced %}

{% endblock fileselectbutton-advanced %}
{% block droparea-advanced-content-invalid-filetype-errormessage %} {% if invalid_filetype_message %} {{ invalid_filetype_message }} {% else %} {% trans "Invalid filetype" %} {% endif %} {% endblock droparea-advanced-content-invalid-filetype-errormessage %}
{% endblock droparea-advanced-content %}
{% endblock droparea-advanced %}
{% block fileselectbutton-simple %}

{% endblock fileselectbutton-simple %}