@extends('layouts.admin') @section('title', $user->name) @section('content') @component('admin.dashboard.breadcumb') @endcomponent

{{$user->name}}

{{$user->role->name}}

Email address
{{$user->email}}
Phone
{{$user->phone}}
@csrf @method('put')
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('old_password')) {{ $errors->first('old_password') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('image')) {{ $errors->first('image') }} @endif
@if ($errors->has('role')) {{ $errors->first('role') }} @endif
@endsection