From e7e6c76b4e1b41cf770f1076f5d2bc879d269433 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 16 Apr 2024 10:16:28 +0200 Subject: [PATCH] Refactor stop button in heading.blade.php to use modal confirmation component --- .../project/application/heading.blade.php | 36 ++++++++++++------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/resources/views/livewire/project/application/heading.blade.php b/resources/views/livewire/project/application/heading.blade.php index 2b9506cb6..24d01c297 100644 --- a/resources/views/livewire/project/application/heading.blade.php +++ b/resources/views/livewire/project/application/heading.blade.php @@ -68,18 +68,22 @@ @endif @endif - - - - - - - - - Stop - + + + + + + + + + + Stop + + This application will be stopped.
Please think again. +
@else @endif + @script + + @endscript