From 62b790085597a99e65d9102a0aea8f859943138d Mon Sep 17 00:00:00 2001 From: ayntk-ai <122374094+ayntk-ai@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:40:39 +0200 Subject: [PATCH] more props and more fixes --- .../components/modal-confirmation.blade.php | 98 ++++++++++++++++--- 1 file changed, 82 insertions(+), 16 deletions(-) diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.php index 99872ae49..df9cd77e7 100644 --- a/resources/views/components/modal-confirmation.blade.php +++ b/resources/views/components/modal-confirmation.blade.php @@ -11,18 +11,28 @@ 'checkboxActions' => [], 'actions' => [], 'confirmWithText' => true, +'confirmText' => 'DELETE', 'confirmWithPassword' => true, +'step1ButtonText' => 'Continue Deletion', +'step2ButtonText' => 'Delete Permanently', +'step3ButtonText' => 'Confirm Permanent Deletion', ])
@if ($customButton) @@ -132,13 +153,10 @@ > @endforeach
- @else -
@endif - @if($confirmWithText) -
+
- @endif @if($confirmWithPassword) @@ -209,29 +267,29 @@ class="w-auto" isError > - Continue Deletion +
@@ -239,3 +297,11 @@
+ +