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

{% embed '@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig' with {
  id: 'changeCountriesZoneModal',
  title: 'Choose a zone'|trans({}, 'Admin.International.Feature'),
  closable: true,
  actions: [{
    type: 'button',
    label: 'Update zone'|trans({}, 'Admin.International.Feature'),
    class: 'btn btn-primary btn-lg js-submit-modal-form-btn',
  }],
} %}
  {% block content %}
    <div class="modal-body">
      {{ form_start(changeCountriesZoneForm, {
        action: path('admin_countries_bulk_update_zone'),
        attr: {
          'data-bulk-inputs-id': changeCountriesZoneForm.country_ids.vars.id,
        },
      }) }}

      <div class="form-group mb-0">
        {{ form_widget(changeCountriesZoneForm.new_zone_id) }}
      </div>

      <div class="d-none">
        {{ form_widget(changeCountriesZoneForm.country_ids) }}
      </div>

      {{ form_end(changeCountriesZoneForm) }}
    </div>
  {% endblock %}
{% endembed %}
