@php $b = $bay ?? null; @endphp
<div class="row">
    <div class="col-md-6"><div class="form-group">
        {!! Form::label('name', __('vrc::lang.bay') . ':*') !!}
        {!! Form::text('name', $b->name ?? null, ['class' => 'form-control', 'required']) !!}
    </div></div>
    <div class="col-md-6"><div class="form-group">
        {!! Form::label('type', __('vrc::lang.type') . ':*') !!}
        {!! Form::select('type', $types, $b->type ?? 'bay', ['class' => 'form-control', 'required']) !!}
    </div></div>
</div>
<div class="form-group">
    {!! Form::label('location_id', __('business.business_location') . ':') !!}
    {!! Form::select('location_id', $locations, $b->location_id ?? null, ['class' => 'form-control', 'placeholder' => __('messages.please_select')]) !!}
</div>
<div class="checkbox"><label>{!! Form::checkbox('is_active', 1, isset($b) ? (bool) $b->is_active : true) !!} @lang('vrc::lang.active')</label></div>
