@props(['name']) @if ($errors->has($name)) merge(['class' => 'text-danger text-sm']) }}> {{ $errors->first($name) }} @endif