{!! Form::checkbox($input_name,null,(isset($checked) && $checked == 1 ? true : old($input_name)),['id'=> $input_name,'class'=>'form-check-input' . ($errors->has($input_name) ? ' is-invalid' : null)]) !!}
{{ Form::label($input_name, (isset($label) ? $label : $text),['class'=> 'form-check-label']) }}
@error($input_name)
{{ $message }}
@enderror