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

4 lines
129 B
PHP
Raw Permalink Normal View History

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