{{$job->title}}

@foreach(explode(',',$job->skill) as $skill) {{$skill}} @endforeach

{{!empty($job->branches)?$job->branches->name:''}}

{{__('Apply for this job')}}

{{Form::open(array('route'=>array('job.apply.data',$job->code),'method'=>'post', 'enctype' => "multipart/form-data"))}}
{{Form::label('name',__('Name*'),['class'=>'form-label'])}} {{Form::text('name',null,array('class'=>'form-control name','required'=>'required'))}}
{{Form::label('email',__('Email*'),['class'=>'form-label'])}} {{Form::email('email',null,array('class'=>'form-control','required'=>'required'))}}
{{Form::label('phone',__('Phone*'),['class'=>'form-label'])}} {{Form::number('phone',null,array('class'=>'form-control','required'=>'required'))}}
@if(!empty($job->applicant) && in_array('dob',explode(',',$job->applicant)))
{!! Form::label('dob', __('Date of Birth*'),['class'=>'form-label']) !!} {!! Form::date('dob', old('dob'), ['class' => 'form-control datepicker','max'=>'2999-12-25','required'=>'required']) !!}
@endif @if(!empty($job->applicant) && in_array('gender',explode(',',$job->applicant)))
{!! Form::label('gender', __('Gender'),['class'=>'form-label']) !!}
@endif @if(!empty($job->applicant) && in_array('country',explode(',',$job->applicant)))
{{Form::label('country',__('Country*'),['class'=>'form-label'])}}
{{Form::label('state',__('State*'),['class'=>'form-label'])}}
{{Form::label('city',__('City'),['class'=>'form-label'])}} {{Form::text('city',null,array('class'=>'form-control','required'=>'required'))}}
@endif @if(!empty($job->visibility) && in_array('profile',explode(',',$job->visibility)))
{{Form::label('profile',__('Profile'),['class'=>'col-form-label'])}} {{-- --}}

@endif @if(!empty($job->visibility) && in_array('resume',explode(',',$job->visibility)))
{{Form::label('resume',__('CV / Resume'),['class'=>'col-form-label'])}} {{-- --}}

@endif @if(!empty($job->visibility) && in_array('letter',explode(',',$job->visibility)))
{{Form::label('cover_letter',__('Cover Letter'),['class'=>'form-label'])}} {{Form::textarea('cover_letter',null,array('class'=>'form-control','rows'=>'3'))}}
@endif @foreach($questions as $question)
{{Form::label($question->question,$question->question,['class'=>'form-label'])}} is_required=='yes')?'required':''}}>
@endforeach
{{Form::close()}}