Skip to content

Commit

Permalink
Update wizard.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin authored Oct 22, 2024
1 parent 23fbacf commit 378cbf3
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/forms/resources/views/components/wizard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand All @@ -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()"
>
Expand Down

0 comments on commit 378cbf3

Please sign in to comment.