@push('after_scripts')
@php
$config = [
'button_id' => "#btn-event-rework",
'title' => trans('backpack::event.message.action_question', ['action' => trans('backpack::common/button.rework.name')]),
'buttons_confirm_label' => __('backpack::common/button.rework.name'),
'buttons_cancel_label' => __('backpack::crud.cancel'),
'action_url' => route('admin.event.rework', ['event_id' => $crud->entry->getKey()]),
'method' => "PUT",
'action_type' => "api",
'bootbox_type' => "confirm"
];
@endphp
@endpush