Files
einundzwanzig-portal/resources/views/vendor/wireui/components/label.blade.php
2024-09-10 20:29:50 +02:00

9 lines
277 B
PHP

<label {{ $attributes->class([
'block text-sm font-medium',
'text-negative-600' => $hasError,
'opacity-60' => $attributes->get('disabled'),
'text-gray-700 dark:text-gray-400' => !$hasError,
]) }}>
{{ $label ?? $slot }}
</label>