{#
 # For the full copyright and license information, please view the
 # docs/licenses/LICENSE.txt file that was distributed with this source code.
 #}

{% trans_default_domain 'Admin.International.Feature' %}
{% form_theme localizationPackImportForm '@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig' %}

{% block import_localization_pack %}
  {{ form_start(localizationPackImportForm, {action: path('admin_localization_import_pack')}) }}
  <div class="card">
    <h3 class="card-header">
      <i class="material-icons">language</i> {{ 'Import a localization pack'|trans }}
    </h3>

    <div class="card-body">
      <div class="form-wrapper">
        {{ form_widget(localizationPackImportForm) }}
      </div>
    </div>

    <div class="card-footer">
      <div class="d-flex justify-content-end">
        <button class="btn btn-primary" id="form-import-localization-save-button">
          <i class="material-icons">cloud_download</i>
          <span>{{ 'Import'|trans({}, 'Admin.Actions') }}</span>
        </button>
      </div>
    </div>
  </div>
  {{ form_end(localizationPackImportForm) }}
{% endblock %}
