{% 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 colleciton. accept (optional) {% endcomment %} {% load i18n %}
{% 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 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-advanced %}

{% endblock fileselectbutton-advanced %}
{% block fileselectbutton-simple %}

{% endblock fileselectbutton-simple %}