my-idlers/resources/views/components/input.blade.php

4 lines
129 B
PHP
Raw Normal View History

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