@include('admin/includes/front_alerts')
{!! Form::open([ 'url' => 'admin/users/'.$record['user_id'] ,'files'=>true, 'id' => '', 'method' => 'PUT']) !!}
{{--
--}}
@endforeach
{!! FORM::close() !!}
Edit User
{{ Form::text('first_name', old('first_name', $record['first_name']) ,['class' => 'form-control','id'=>'first_name','required','maxlength' => '30']) }}
First Name is required
{{ Form::text('middle_name', old('middle_name', $record['middle_name']) ,['class' => 'form-control top-margin','id'=>'middle_name','maxlength' => '30']) }}
Middle Name is optional
{{ Form::text('last_name', old('last_name', $record['last_name']) ,['class' => 'form-control top-margin','id'=>'last_name','required','maxlength' => '30']) }}
Last Name is required
{{ Form::text('suffix', old('suffix', $record['suffix']) ,['class' => 'form-control top-margin','id'=>'suffix','required','maxlength' => '10']) }}
Mr, Mrs, Jr, III
{{ Form::text('ssn', old('ssn', $record['ssn']) ,['class' => 'form-control top-margin','id'=>'ssn','required','maxlength' => '11']) }}
123-45-6789
@php
$dob = old('dob', $record['dob'] ? $record['dob']:'');
if($dob){
$dob = date('m/d/Y',strtotime($dob));
}
@endphp
{{ Form::text('', $dob ,['class' => 'form-control top-margin','id'=>'dob','required']) }}
Date of Birth is required
{{ Form::hidden('dob', old('dob', $record['dob']) ,['id'=>'actualDob']) }}
{{ Form::text('email', old('email', $record['email']) ,['class' => 'form-control top-margin','id'=>'email','autocomplete'=>"off",'required','maxlength' => '100']) }}
Email is required
{{ Form::text('confirmEmail' , $record['email'] ,['class' => 'form-control top-margin','id'=>'confirmEmail','autocomplete'=>"off",'required','maxlength' => '100']) }}
confirmation Email is required
{{ Form::text('wrong_attempts', old('wrong_attempt', $record['wrong_attempt']) ,['class' => 'form-control top-margin','id'=>'wrong_attempts']) }}
Wrongs Attempts in Validation questions
Password is required
Password Confirmation is required
{{ Form::text('contact', old('contact', $record['contact']) ,['class' => 'form-control top-margin','id'=>'contact','required','maxlength' => '20' ,'onkeypress' => 'return event.charCode >= 48 && event.charCode <= 57']) }}
02071838750
{{--{{ Form::textarea('address', old('address', $record['address']), ['class' => 'form-control','id'=>'address','data-error-container' => '#AdDescription' ,'rows' => '5','maxlength' => '120' ]) }}--}}
{{ Form::text('city', old('city', $record['city']) ,['class' => 'form-control','id'=>'city','required','maxlength' => '30']) }}
City is required
{{ Form::text('state', old('state', $record['state']) ,['class' => 'form-control top-margin','id'=>'state','required','maxlength' => '30']) }}
State Name is required
{{ Form::text('zip', old('zip', $record['zip']) ,['class' => 'form-control top-margin','id'=>'zip','required','maxlength' => '10']) }}
ZIP Code is required
{{ Form::text('eof', old('eof', $record['eof']) ,['class' => 'form-control','id'=>'eof','maxlength' => '50']) }}
Employer on File if any
{{ Form::text('title', old('title', $record['title']) ,['class' => 'form-control top-margin','id'=>'title','maxlength' => '40']) }}
This Field is optional
User's Progress
@foreach($progress as $obj)
{{ Form::radio('status', 1, (old('status', $record['status']) == '1' ? true : false), ['class' => 'md-radiobtn','id'=>'active']) }}
{{ Form::radio('status', 0, (old('status', $record['status']) == '0' ? true : false), ['class' => 'md-radiobtn','id'=>'deactive']) }}
User Information
{{ (($record['has_paid']) == '1' ? 'True' : 'False') }} | |
{{ (($record['is_activated']) == '1' ? 'Activated' : 'Deactivated') }} | |
{{ (($record['is_validated']) == '1' ? 'Validated' : 'Non validated') }} | |
{{ (($record['exam_cleared']) == '1' ? 'Cleared' : 'Pending') }} | |
{{ $record['exam_attempt'] }} |