@extends('backend.layouts.app') @section('title') {{ $user->name }} {{ __('details') }} @endsection @section('content')

{{ $candidate->user->name }}'s {{ __('details') }}

@method('DELETE') @csrf

{{ __('profession') }}

{{ $candidate->profession ? $candidate->profession->name : '-' }}

{{ __('experience') }}

{{ $candidate->experience ? $candidate->experience->name : '' }}

{{ __('marital_status') }}

{{ __($candidate->marital_status) }}

{{ __('education') }}

{{ $candidate->education ? $candidate->education->name : '' }}

{{ __('gender') }}

{{ ucfirst($candidate->gender) }}

{{ __('birth_date') }}

{{ date('D, d M Y', strtotime($candidate->birth_date)) }}

{{ __('website') }}

{{ $candidate->website }}
@if ($user->contactInfo && $user->contactInfo->phone) @endif @if ($user->contactInfo && $user->contactInfo->email)

{{ __('contact_email') }}

{{ $user->contactInfo->email }}
@endif
{{ __('description') }}

{!! nl2br($candidate->bio) !!}

{{ __('skills') }}

@foreach ($candidate->skills as $skill) {{ $skill->name }} @endforeach

{{ __('languages') }}

@foreach ($candidate->languages as $language) {{ $language->name }} @endforeach

{{ __('location') }}

{{ $candidate->exact_location ? $candidate->exact_location: $candidate->full_address }}

@endsection @section('style') @include('map::links') @endsection @section('script') {{-- Leaflet --}} @endsection