@extends('admin.layouts.main') @section('title') @if($id) Edit Candidate @else Add Candidate @endif @endsection @section('content')
@include("admin.common.sidebar")
@csrf
@if($id)

Edit Candidate

@else

Add Candidate

@endif
@if($errors->has('first_name'))
{{ $errors->first('first_name')}}
@endif
@if($errors->has('last_name'))
{{ $errors->first('last_name')}}
@endif
@if($errors->has('country_id'))
{{ $errors->first('country_id')}}
@endif
@if($errors->has('email'))
{{ $errors->first('email')}}
@endif
@if($errors->has('mobile'))
{{ $errors->first('mobile')}}
@endif
@if($id)••••••••@endif @if($errors->has('password'))
{{ $errors->first('password')}}
@endif
@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