{# @description An Import button that opens a dialog of the record types a file can be imported as. Each type links to its import page. #} {# @prop chooser:object | description:"From import_chooser: the dialog's id and title, and its groups of types." #} {# @prop label:text | description:"The button's text." #} {% load i18n %}

{% translate "Choose what your file holds. Each type has its own columns." %}

{% for group in chooser.groups %} 1 %} aria-labelledby="{{ chooser.id }}-{{ group.kind }}"{% endif %}> {% if chooser.groups|length > 1 %}

{{ group.title }}

{% endif %} {% if group.entries %} {% else %}

{% translate "This portal has no types of this kind." %}

{% endif %} {% endfor %}