auditionadmin/resources/views/components/form/footer.blade.php

12 lines
332 B
PHP

@props([
'submitButtonText' => '',
'buttons' => false,
])
<div {{ $attributes->merge(['class' => 'flex items-center justify-end mt-4 gap-x-6 border-t border-gray-900/10 px-0 pt-4']) }}>
@if ($slot->isEmpty())
<x-form.button>{{ $submitButtonText }}</x-form.button>
@else
{{ $slot }}
@endif
</div>