@extends('layout/app')
@section('content')
@php($user = session('loginInfo'))
@if ($message = Session::get('success'))
@endif
@if ($errors->any())
Whoops! There were some problems with your input.
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@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) : "-" !!}
@endsection
@section('js-script')
@endsection