From 898433bc4afe6ce5154df8c256a5df53f790bc66 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 28 Oct 2024 23:02:05 +0100 Subject: [PATCH] Refactor modal-confirmation component --- .../views/components/modal-confirmation.blade.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.php index e31c039f8..3ebefb396 100644 --- a/resources/views/components/modal-confirmation.blade.php +++ b/resources/views/components/modal-confirmation.blade.php @@ -178,7 +178,7 @@ class="flex absolute top-2 right-2 justify-center items-center w-8 h-8 rounded-f -
+
@if (!empty($checkboxes))
@@ -193,7 +193,7 @@ class="flex absolute top-2 right-2 justify-center items-center w-8 h-8 rounded-f x-bind:checked="selectedActions.includes('{{ $checkbox['id'] }}')" />
@endforeach - +
@@ -280,7 +280,8 @@ class="p-2 mt-1 w-full text-black rounded input">
@if (!empty($checkboxes)) - + Back @else @@ -290,7 +291,8 @@ class="w-24 dark:bg-coolgray-200 dark:hover:bg-coolgray-300"> @endif
- + Back