{% load i18n shatailadmin_tags %} {% trans "Choose a document" as choose_str %} {% include "shatailadmin/shared/header.html" with title=choose_str merged=1 icon="doc-full-inverse" %} {{ uploadform.media.js }} {{ uploadform.media.css }}
{% if uploadform %}
{# Using nice-padding and full width class until the modal header is restyled #}
{% trans "Search" as search_text %} {% include 'shatailadmin/shared/tabs/tab_nav_link.html' with tab_id='search' title=search_text %} {% trans "Upload" as upload_text %} {% include 'shatailadmin/shared/tabs/tab_nav_link.html' with tab_id='upload' title=upload_text %}
{% endif %}
{% if uploadform %} {% include "shataildocs/chooser/upload_form.html" with form=uploadform %} {% endif %}