Add Candidate
{{ session('alert-green') }}
@endif
@if(session('alert-danger'))
{{ session('alert-danger') }}
@endif
@if($errors->any())
@foreach ($errors->all() as $error)
* {{$error}}
@endforeach
Fill up Candidate info
{{Form::open(['route'=>['admin.candidates.add'],'method'=>'post','class'=>'row g-3 needs-validation','id'=>'form-horizontal'])}} @csrf
Please select a valid title.
{{Form::text('name',null,['class'=>'form-control required','required','placeholder'=> 'Name' ,'autocomplete'=>"off" ])}}
{{Form::text('phone',null,['class'=>'form-control required','required','placeholder'=> 'Phone Number' ,'autocomplete'=>"off" ,'maxlength'=>"11",'onkeypress'=>"return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))"])}}
{{Form::email('email',null,['class'=>'form-control', 'pattern' =>'[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$', 'placeholder'=> 'Email' ,'autocomplete'=>"off"])}}
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
Please select a valid batch.
{{Form::text('location',null,['class'=>'form-control','placeholder'=> 'Location' ,'autocomplete'=>"off"])}}
@if ($errors->has('location')) {{ $errors->first('location') }} @endif