From 378cbf31288070b0380d9216a5e86a6dfa87e73e Mon Sep 17 00:00:00 2001 From: Dan Harrin <git@danharrin.com> Date: Tue, 22 Oct 2024 10:04:07 +0100 Subject: [PATCH] Update wizard.blade.php --- .../views/components/wizard.blade.php | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/forms/resources/views/components/wizard.blade.php b/packages/forms/resources/views/components/wizard.blade.php index 494d3dc0e1c..48204ea6af4 100644 --- a/packages/forms/resources/views/components/wizard.blade.php +++ b/packages/forms/resources/views/components/wizard.blade.php @@ -264,11 +264,13 @@ class="h-full w-full text-gray-200 dark:text-white/5 rtl:rotate-180" 'mt-6' => ! $isContained, ]) > - <span x-cloak - @if (!$previousAction->isDisabled()) - x-on:click="previousStep" - @endif - x-show="! isFirstStep()"> + <span + x-cloak + @if (! $previousAction->isDisabled()) + x-on:click="previousStep" + @endif + x-show="! isFirstStep()" + > {{ $previousAction }} </span> @@ -278,14 +280,12 @@ class="h-full w-full text-gray-200 dark:text-white/5 rtl:rotate-180" <span x-cloak - @if (!$nextAction->isDisabled()) - x-on:click=" - $wire.dispatchFormEvent( - 'wizard::nextStep', - '{{ $statePath }}', - getStepIndex(step), - ) - " + @if (! $nextAction->isDisabled()) + x-on:click="$wire.dispatchFormEvent( + 'wizard::nextStep', + '{{ $statePath }}', + getStepIndex(step), + )" @endif x-show="! isLastStep()" >