@php
if(!isset($type))
$type = "text";
if(!isset($value))
$value = null;
if(!isset($attribute))
$attribute = '';
@endphp
@error($name)
{{ $message }}
@enderror
{{--
@include('components.form.input', [
'type' => 'text',
'name' => "name",
'label' => 'label',
'value' => 20,
'attribute' => 'required',
'class' => 'form-control',
])
--}}