{% embed '@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig' with {
  'id': 'delete_consignments_modal',
  'title': 'Delete selected consignments'|trans({}, 'Modules.Glspoland.Consignment'),
  'closable': true,
  'actions': [{
    'type': 'button',
    'label': 'Delete selected consignments'|trans({}, 'Modules.Glspoland.Consignment'),
    'class': 'btn btn-danger btn-lg js-submit-modal-form-btn',
  }],
} %}
  {% block content %}
    <div class="modal-body">
      <div class="alert alert-warning">
        {{ 'Are you sure you want to delete selected consignments?'|trans({}, 'Modules.Glspoland.Consignment') }}
      </div>

      {{ form_start(bulk_delete_form, {
        'attr': {
          'data-bulk-inputs-id': bulk_delete_form.consignmentIds.vars.id
        }
      }) }}

      {{ form_widget(bulk_delete_form.consignmentIds) }}
      {{ form_rest(bulk_delete_form) }}

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