my-idlers/resources/views/components/input.blade.php
2022-03-06 02:29:58 +11:00

4 lines
129 B
PHP

@props(['disabled' => false])
<input {{ $disabled ? 'disabled' : '' }} {!! $attributes->merge(['class' => 'form-control']) !!}>