<div class="form-group{{ $errors->has($id) ? ' has-danger' : '' }}">
    
    <label class="form-control-label" for="{{ $id }}">{{ __($name) }}</label>
    <label class="custom-toggle" style="float: right">
        <input type="checkbox"  name="{{ $id }}" id="{{ $id }}" <?php if($checked){echo "checked";}?>>
        <span class="custom-toggle-slider rounded-circle"></span>
    </label>
    @isset($additionalInfo)
        <br /><small class="text-muted"><strong>{{ __($additionalInfo) }}</strong></small>
    @endisset
    @if ($errors->has($id))
        <span class="invalid-feedback" role="alert">
            <strong>{{ $errors->first($id) }}</strong>
        </span>
    @endif
</div>