vito/resources/views/scripts/partials/delete-script.blade.php
2024-06-08 18:18:17 +02:00

19 lines
628 B
PHP

<x-modal name="delete-script" :show="$errors->isNotEmpty()">
<form id="delete-script-form" method="post" x-bind:action="deleteAction" class="p-6">
@csrf
@method("delete")
<h2 class="text-lg font-medium">Are you sure that you want to delete this script?</h2>
<div class="mt-6 flex justify-end">
<x-secondary-button type="button" x-on:click="$dispatch('close')">
{{ __("Cancel") }}
</x-secondary-button>
<x-danger-button class="ml-3">
{{ __("Delete") }}
</x-danger-button>
</div>
</form>
</x-modal>