@props(['user' => null]) @php $isEdit = $user !== null ? true : false; @endphp
@if($isEdit) @method('PATCH') @endif @csrf @session('success')
{{ session('success') }}
@endsession