@foreach ($option as $value => $label)
@php
if ($value == $old) {
$selected = ' checked';
} else {
$selected = $value == 1 ? ' checked' : '';
}
@endphp
@endforeach
@if (@$errors->has(@$attributes['name']) && $label !== false)
@foreach ($errors->get(@$attributes['name']) as $message)