lasthourcloud/resources/views/livewire/project/delete-project.blade.php
Andras Bacsai bbcabc8e71 woah
2023-06-07 15:08:35 +02:00

13 lines
440 B
PHP

<div x-data="{ deleteProject: false }">
<x-naked-modal show="deleteProject" message='Are you sure you would like to delete this project?' />
@if ($resource_count > 0)
<x-forms.button disabled="First delete all resources.">
Delete Project
</x-forms.button>
@else
<x-forms.button x-on:click.prevent="deleteProject = true">
Delete Project
</x-forms.button>
@endif
</div>