@props([ 'name' => 'name', 'class' => '', ]) @if (!empty($errors) && $errors->has($name)) {{ $errors->first($name) }} @endif