@extends('admin.layouts.container')

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

    </div>


    <div class="border-item">


        <form class="form-row" enctype="multipart/form-data" >

            <div class="form-group col-lg-6">
                <label>{{  __('demands.name') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->name  }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.email') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->email  }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.phone') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->phone  }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.gender') }}  </label>
                <input type="text" class="form-control " disabled value='{{ __('web.'.$demand->gender)  }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.age') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->age }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.date_of_birth') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->date_of_birth }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.national_id') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->national_id }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.nationality') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->nationality }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.marital') }}  </label>
                <input type="text" class="form-control " disabled value='{{  __('web.'.$demand->marital) }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.district') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->district }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.study_level') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->study_level }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.words_work_experience') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->words_work_experience }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.goal_year') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->goal_year }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.work_experience') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->work_experience }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.subject_training_session') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->subject_training_session }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.training_session') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->training_session }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.pros_cons') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->pros_cons }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.social_problem') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->social_problem }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.volunteered') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->volunteered }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.attend_programs_training') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->attend_programs_training }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.courses_nesma') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->courses_nesma }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.know_nesma_training') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->know_nesma_training }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.course_id') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->course->descriptions()->name }}'/>
            </div>
            <div class="form-group col-lg-6">
                <label>{{  __('demands.user') }}  </label>
                <input type="text" class="form-control " disabled value='{{  $demand->user->name }}'/>
            </div>

            <div class="text-center mt-5 col-12">
                <a href="{{asset($demand->cv)}}" target="_blank" class="butn"><span>{{ __('demands.cv') }}</span></a>
            </div>


        </form>



    </div>

@endsection
@section('inner_js')
    <!-- Editor JS files -->
    {{--    <script src="{{ asset('/assets/admin/js/lib/tinymce.min.js') }}"></script>--}}
    <script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
    <script>
        let route_prefix = "{{ url(config('lfm.prefix')) }}",
            url = "{{url('/')}}/",
            currentLanguage = "{{getCurrentLocale()}}",
            imagePath = "{{asset('')}}";
    </script>
    <script src="{{ asset('assets/admin/js/editor.js') }}"></script>
    <script src="{{ asset('assets/admin/js/lfm.js') }}"></script>
    <script src="{{ asset('assets/admin/js/articles.js') }}"></script>
@endsection
