Sistema de controles da União de Ciclistas do Brasil
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
@props([
|
|
|
'label',
|
|
|
'inline' => false,
|
|
|
'error' => false,
|
|
|
])
|
|
|
|
|
|
<div {{ $attributes }}>
|
|
|
|
|
|
<span class="block text-sm font-medium text-gray-700 leading-5">
|
|
|
{{ $label }}
|
|
|
</span>
|
|
|
|
|
|
<div class="mt-2 @if($inline) flex flex-col lg:flex-row space-y-1 lg:space-y-0 lg:space-x-4 @endif">
|
|
|
{{ $slot }}
|
|
|
</div>
|
|
|
|
|
|
@if ($error)
|
|
|
<p class="mt-2 text-sm text-red-600">
|
|
|
{{ $error }}
|
|
|
</p>
|
|
|
@endif
|
|
|
|
|
|
</div>
|