@extends('admin.layouts.main') @section('title') @if($id) Edit Candidate @else Add Candidate @endif @endsection @section('content') @include("admin.common.sidebar") Recruitment Candidates @if($id) Edit Candidate @else Add Candidate @endif @csrf @if($id) Edit Candidate @else Add Candidate @endif {{ @trans('user.first_name') }} * @if($errors->has('first_name')) {{ $errors->first('first_name')}} @endif {{ @trans('user.last_name') }} * @if($errors->has('last_name')) {{ $errors->first('last_name')}} @endif Country* Select Country @foreach($countries as $country) locations->country_id == $country->id)selected="selected"@endif>{{ $country->name}} @endforeach @if($errors->has('country_id')) {{ $errors->first('country_id')}} @endif {{ @trans('user.email') }} * @if($errors->has('email')) {{ $errors->first('email')}} @endif {{ @trans('user.phone') }} * @if($errors->has('mobile')) {{ $errors->first('mobile')}} @endif {{ @trans('user.password') }} * @if($id)••••••••@endif @if($errors->has('password')) {{ $errors->first('password')}} @endif {{ @trans('user.confirm_password') }} * @if($id)••••••••@endif @if($errors->has('password_confirmation')) {{ $errors->first('password_confirmation')}} @endif @endsection @push('pageJs') {!! JsValidator::formRequest('App\Http\Requests\User\StoreCandidate', '#frmAddEditCandidate') !!} @endpush