coolify/resources/views/components/input.blade.php

12 lines
218 B
PHP
Raw Normal View History

2023-04-25 14:43:35 +02:00
<label for={{ $id }}>
@if ($label)
{{ $label }}
@else
{{ $id }}
@endif
@if ($required)
*
@endif
<input id={{ $id }} type={{ $type }} wire:model.defer={{ $id }}>
</label>