@extends('backend.layouts.app') @section('title') {{ __('edit_candidate') }} @endsection @section('content') @if (userCan('candidate.create'))
@method('PUT') @csrf

{{ __('edit_candidate') }}

{{ __('account_details') }}
@if (config('templatecookie.map_show'))
{{ __('location') }} * ({{ __('click_to_add_a_pointer') }})
@php $map = $setting->default_map; @endphp

@error('location') {{ $message }} @enderror
@php $location = session()->get('location'); @endphp @else @php session([ 'selectedCountryId' => null, 'selectedStateId' => null, 'selectedCityId' => null, ]); session([ 'selectedCountryId' => $candidate->country, 'selectedStateId' => $candidate->region, 'selectedCityId' => $candidate->district, ]); @endphp
{{ __('location') }}
@livewire('country-state-city') @error('location') {{ $message }} @enderror
@endif
{{ __('image') }}
{{ __('files') }}
@error('cv') {{ $message }} @enderror
@if($candidate?->getCVPath) @foreach ($candidate?->getCVPath as $index => $item) @endforeach @endif
{{ __('profile_details') }}
@error('profession_id') {{ __($message) }} @enderror
@error('experience') {{ __($message) }} @enderror
@error('role_id') {{ __($message) }} @enderror
@error('education') {{ __($message) }} @enderror
@error('gender') {{ __($message) }} @enderror
@error('website') {{ __($message) }} @enderror
@error('birth_date') {{ __($message) }} @enderror
@error('marital_status') {{ __($message) }} @enderror
@error('skills') {{ __($message) }} @enderror
@error('languages') {{ __($message) }} @enderror
@error('bio') {{ __($message) }} @enderror
@endif @endsection @section('style') @include('map::links') @endsection @section('script') @livewireScripts @stack('js') @if (app()->getLocale() == 'ar') @endif {{-- Leaflet --}} @include('map::set-edit-leafletmap', ['lat' => $lat, 'long' => $long]) @endsection