lasthourcloud/resources/views/livewire/project/delete-project.blade.php

13 lines
440 B
PHP
Raw Normal View History

2023-05-09 09:33:50 +00:00
<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)
2023-05-25 12:05:44 +00:00
<x-forms.button disabled="First delete all resources.">
2023-06-07 13:08:35 +00:00
Delete Project
2023-05-25 12:05:44 +00:00
</x-forms.button>
2023-05-09 09:33:50 +00:00
@else
2023-05-25 12:05:44 +00:00
<x-forms.button x-on:click.prevent="deleteProject = true">
2023-06-07 13:08:35 +00:00
Delete Project
2023-05-25 12:05:44 +00:00
</x-forms.button>
2023-05-09 09:33:50 +00:00
@endif
</div>