@extends("layouts.${SKIN_NAME}.app") @section('title', 'profile') @section('content')

{!! $user->name !!}

{!! $user->pilot_id !!}
{!! $user->rank->name !!}

{!! $user->airline->name !!}

@if($user->home_airport) @endif @if($user->current_airport) @endif
{{-- show the details/edit fields only for the currently logged in user --}} @if(Auth::check() && $user->id === Auth::user()->id)

your profile

Email {!! $user->email !!}
API Key  don't share this! {!! $user->api_key !!}
Timezone {!! $user->timezone !!}
@endif @endsection