@extends('admin.layouts.admin') @section('content')
@if(session('alert-green'))
{{ session('alert-green') }}
@endif @if(session('alert-danger'))
{{ session('alert-danger') }}
@endif @if($errors->any())
@foreach ($errors->all() as $error)
* {{$error}}
@endforeach
@endif {{ session('status') }}

Update Candidate info

{!! Form::model($candidate,['route'=>['admin.candidate.update',$candidate->id],'class' => 'row g-3 needs-validation','id'=>'form-horizontal', 'method'=>'post']) !!} @csrf
@if ($errors->has('highest_education')) {{ $errors->first('highest_education') }} @endif
@if ($errors->has('institution_name')) {{ $errors->first('institution_name') }} @endif

date_of_birth)) }}" placeholder="MM/DD/YYYY"> @if ($errors->has('date_of_birth')) {{ $errors->first('date_of_birth') }} @endif
{{Form::text('passport_number',null,['class'=>'form-control','placeholder'=> 'Passport number' ,'autocomplete'=>"off"])}} @if ($errors->has('passport_number')) {{ $errors->first('passport_number') }} @endif
{{Form::text('nid_number',null,['class'=>'form-control','placeholder'=> 'NID number' ,'autocomplete'=>"off"])}} @if ($errors->has('nid_number')) {{ $errors->first('nid_number') }} @endif
{!! Form::close() !!}
@include('admin.sections.footer')
@endsection @section('script') @endsection