move to custom x-form component and fix htmlspecialentities issue

This commit is contained in:
hackerESQ
2024-09-18 19:51:05 -05:00
parent 835c2115f2
commit 5bb601f869
4 changed files with 52 additions and 35 deletions
@@ -0,0 +1,21 @@
@props([
'noSeparator' => false,
])
<form
{{ $attributes->whereDoesntStartWith('class') }}
{{ $attributes->class(['grid grid-flow-row auto-rows-min gap-3']) }}
>
{{ $slot }}
@if ($actions)
@if(!$noSeparator)
<hr class="my-3" />
@endif
<div class="flex justify-between gap-3">
{{ $actions}}
</div>
@endif
</form>