pianello-api/resources/views/components/base/form-label/index.blade.php
Ale Gallo 96c0bfb8ce Committing laravel (part 5)
committing blade templating files and components that might come in handy
2023-11-10 16:41:20 +01:00

8 lines
280 B
PHP

@aware(['formInline' => null, 'class' => null])
<label
data-tw-merge
{{ $attributes->class(['inline-block mb-2', $formInline ? 'mb-2 sm:mb-0 sm:mr-5 sm:text-right' : null])->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
>
{{ $slot }}
</label>