@if($isEdit || $isInfo)
    <!-- 管轄駐輪場ID -->
    <div class="form-group col-3">
        <label>{{ __('validation.attributes.jurisdiction_parking_id') }}</label>
    </div>
    <div class="form-group col-9">
        <input type="text" class="form-control form-control-lg" readonly
               value="{{ $record->jurisdiction_parking_id ?? '' }}">
    </div>
@endif

<!-- 管轄名 -->
<div class="form-group col-3">
    <label @if(!$isInfo) class="required" @endif>{{ __('validation.attributes.jurisdiction_parking_name') }}</label>
</div>
<div class="form-group col-9">
    <input type="text" class="form-control form-control-lg"
           name="jurisdiction_parking_name"
           value="{{ old('jurisdiction_parking_name', $record->jurisdiction_parking_name ?? '') }}"
           placeholder="{{ __('validation.attributes.jurisdiction_parking_name') }}"
           @if($isInfo) readonly @endif>
</div>

<!-- オペレータ -->
<div class="form-group col-3">
    <label @if(!$isInfo) class="required" @endif>{{ __('validation.attributes.ope_name') }}</label>
</div>
<div class="form-group col-9">
    <select class="form-control form-control-lg" name="ope_id" @if($isInfo) disabled @endif>
        <option value="">{{ __('validation.attributes.ope_name') }}</option>
        @foreach($opes as $key => $item)
            <option value="{{ $key }}" @if($key == ($record->ope_id ?? '')) selected @endif>{{ $item }}</option>
        @endforeach
    </select>
</div>

<!-- 駐輪場 -->
<div class="form-group col-3">
    <label @if(!$isInfo) class="required" @endif>{{ __('validation.attributes.park_name') }}</label>
</div>
<div class="form-group col-9">
    <select class="form-control form-control-lg" name="park_id" @if($isInfo) disabled @endif>
        <option value="">{{ __('validation.attributes.park_name') }}</option>
        @foreach($parks as $key => $item)
            <option value="{{ $key }}" @if($key == ($record->park_id ?? '')) selected @endif>{{ $item }}</option>
        @endforeach
    </select>
</div>

<!-- 更新オペレータ -->
@if($isInfo)
    <div class="form-group col-3">
        <label>{{ __('validation.attributes.operator_id') }}</label>
    </div>
    <div class="form-group col-9">
        <input type="text" class="form-control form-control-lg" readonly
               value="{{ $record->operator_id ?? '' }}">
    </div>
@endif

<!-- 登録日時 -->
@if($isInfo)
    <div class="form-group col-3">
        <label>{{ __('validation.attributes.created_at') }}</label>
    </div>
    <div class="form-group col-9">
        <input type="text" class="form-control form-control-lg" readonly
               value="{{ $record->created_at ?? '' }}">
    </div>

    <!-- 更新日時 -->
    <div class="form-group col-3">
        <label>{{ __('validation.attributes.updated_at') }}</label>
    </div>
    <div class="form-group col-9">
        <input type="text" class="form-control form-control-lg" readonly
               value="{{ $record->updated_at ?? '' }}">
    </div>
@endif