@extends('admin.layouts.container')

@section('content')
<div class="side-title">
    <h3>{{ $head ?? '' }}</h3>
</div>

<div class="border-item">
    <form class="form-row" >


        <div class="form-group col-lg-6">
            <label>{{ __('demands.first_name') }} </label>
            <p class="form-control" style="height: auto">{{$demand->first_name}}</p>
        </div>
        <div class="form-group col-lg-6">
            <label>{{ __('demands.last_name') }} </label>
            <p class="form-control" style="height: auto">{{$demand->last_name}}</p>
        </div>
        <div class="form-group col-lg-6">
            <label>{{ __('demands.phone') }} </label>
            <p class="form-control" style="height: auto">{{$demand->phone}}</p>
        </div>
        <div class="form-group col-lg-6">
            <label>{{ __('demands.email') }} </label>
            <p class="form-control" style="height: auto">{{$demand->email}}</p>
        </div>
        <div class="form-group col-lg-6">
            <label>{{ __('demands.nationality_id') }} </label>
            <p class="form-control" style="height: auto">{{$demand->nationality->currentDescription->name}}</p>
        </div>
        <div class="text-center mt-5 col-12">
            <a class="butn" href="{{asset($demand->cv)}}" target="_blank">{{__('demands.show_cv')}}</a>
        </div>
        {{-- End replies container--}}


    </form>
</div>

@endsection

@section('inner_js')
    <!-- Editor JS branches -->
    <script src="{{ asset('/assets/admin/js/lib/tinymce.min.js') }}"></script>-
    <script>
        var route_prefix = "{{ url(config('lfm.prefix')) }}";
        var url = "{{url('/')}}/";
    </script>
    <script src="{{ asset('assets/admin/js/editor.js') }}"></script>
    <script src="{{ asset('assets/admin/js/lfm.js') }}"></script>

@endsection
