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

{{ @trans('candidate.edit_candidate') }}

@else

{{ @trans('candidate.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('email'))
{{ $errors->first('email')}}
@endif
@if($errors->has('mobile'))
{{ $errors->first('mobile')}}
@endif
@if($errors->has('password'))
{{ $errors->first('password')}}
@endif
@if($errors->has('password_confirmation'))
{{ $errors->first('password_confirmation')}}
@endif
@endsection @push('pageJs') {!! JsValidator::formRequest('App\Http\Requests\User\StoreUser', '#frmAddEditUser') !!} @endpush