{!! Form::open(array('files'=>'false', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!} {{-- Name --}}
{!! Form::label('name', $data['attributes']['name'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('name', $data['model']->name, ['class' => 'form-control', 'id' => 'name', 'type' => 'text', 'placeholder' => $data['placeholder']['name']]) !!}

{{ $errors->error->first('name') }}

{{-- Short Name --}}
{!! Form::label('short_name', $data['attributes']['short_name'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('short_name', $data['model']->short_name, ['class' => 'form-control', 'id' => 'short_name', 'type' => 'text', 'placeholder' => $data['placeholder']['short_name']]) !!}

{{ $errors->error->first('short_name') }}

{{-- Type --}}
{!! Form::label('type', $data['attributes']['type'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('type', $data['model']->leaveType, $data['model']->type, ['class' => 'form-control', 'id' => 'type']) !!}

{{ $errors->error->first('type') }}

{{-- Tag --}}
{!! Form::label('hr_leave_type_tag_id_fk', $data['attributes']['hr_leave_type_tag_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('hr_leave_type_tag_id_fk', $data['leaveTypeTag'], $data['model']->hr_leave_type_tag_id_fk, ['class' => 'form-control', 'id' => 'hr_leave_type_tag_id_fk']) !!}

{{ $errors->error->first('hr_leave_type_tag_id_fk') }}

{{-- Recruitment Type --}}
{!! Form::label('recruitment_id', $data['attributes']['recruitment_id'], ['class' => 'col-sm-2 control-label']) !!}

Warning: Undefined variable $data in /home/shikkhaplus/public_html/demo_bk/resources/views/hr/hrLeaveType/form.blade.php on line 54

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/demo_bk/resources/views/hr/hrLeaveType/form.blade.php on line 54
{!! Form::select('recruitment_id', $data['recruitmentData'], $data['model']->recruitment_id, ['class' => 'form-control', 'id' => 'recruitment_id']) !!}

{{ $errors->error->first('recruitment_id') }}

{{-- Total Day --}}
{!! Form::label('total_da', $data['attributes']['total_day'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('total_day', $data['model']->total_day, ['class' => 'form-control', 'id' => 'total_day', 'type' => 'text', 'placeholder' => $data['placeholder']['total_day']]) !!}

{{ $errors->error->first('total_day') }}

{{-- status --}}
{!! Form::label('status', $data['attributes']['status'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('status', ['Active'=>'Active', 'Inactive'=>'Inactive'], $data['model']->status, ['class' => 'form-control', 'id' => 'status']) !!}

{{ $errors->error->first('status') }}

{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}