@extends('layout/app') @section('content') @php($user = session('loginInfo'))

My Profile

@if ($message = Session::get('success'))

{{ $message }}

@endif @if ($errors->any())
Whoops! There were some problems with your input.

@endif
@if(!empty($user->profile)) @else @endif

{{ (!empty($user->name)) ? $user->name : "User" }}


Email address
{!! (!empty($user->email)) ? _emailLink($user->email) : "-" !!}
Phone
{!! (!empty($user->mobile)) ? _mobileLink($user->mobile) : "-" !!}
@csrf @method('PUT')
Cancel
@endsection @section('js-script') @endsection