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 @@ class="absolute top-0 right-0 flex items-center justify-center w-8 h-8 mt-5 mr-5 > @endforeach
- @else -
@endif - @if($confirmWithText) -
+
- @endif @if($confirmWithPassword) @@ -209,29 +267,29 @@ class="w-24 dark:bg-coolgray-200 dark:hover:bg-coolgray-300" class="w-auto" isError > - Continue Deletion +
@@ -239,3 +297,11 @@ class="w-auto"
+ +