{!! Form::label("status", "Status", ['class' => 'col-sm-2 control-label','for'=>'status']) !!}
@if (isset($action_page) && $action_page=="view") @if (isset($status)) @if ($status=="Active") {!! Form::checkbox('status', 'Active', true, ['data-render' => 'switchery','data-theme'=>'primary','data-disabled'=>'true']); !!} @else {!! Form::checkbox('status', 'Active', false, ['data-render' => 'switchery','data-theme'=>'primary','data-disabled'=>'true']); !!} @endif @else {!! Form::checkbox('status', 'Active', true, ['data-render' => 'switchery','data-theme'=>'primary','data-disabled'=>'true']); !!} @endif @else @if (isset($status)) @if ($status=="Active") {!! Form::checkbox('status', 'Active', true, ['data-render' => 'switchery','data-theme'=>'primary']); !!} @else {!! Form::checkbox('status', 'Active', false, ['data-render' => 'switchery','data-theme'=>'primary']); !!} @endif @else {!! Form::checkbox('status', 'Active', true, ['data-render' => 'switchery','data-theme'=>'primary']); !!} @endif @endif