{{-- --}} @method('PUT') @csrf

Edit

@if ($errors->has('name')) {{ $errors->first('name') }} @endif