@if (isset($type)) {{ Form::label_styled($title, '', $label_size) }} {{ Form::checkbox_ex($name, $is_on, '', $on_change, $id, null, null, 'yes-no-checkbox', 1, $is_read_only) }} @if (!$is_read_only) @endif @else {{ Form::label_styled($title, '', $label_size) }} {{ Form::checkbox_ex($name, $is_on, '', $on_change, $id, null, null, 'on-off-checkbox', 1, $is_read_only) }} @if (!$is_read_only) @endif @endif