@extends('layouts.app')
@section('title', '新規')

@section('content')
<div class="content-header">
  <div class="container-fluid">
    <div class="row mb-2">
      <div class="col-sm-6">
        <h1 class="m-0 text-dark">新規</h1>
      </div>
      <div class="col-sm-6">
        <ol class="breadcrumb float-sm-right text-sm">
          <li class="breadcrumb-item"><a href="{{ route('home') }}">ホーム</a></li>
          <li class="breadcrumb-item"><a href="{{ route('contract_allowable_cities') }}">契約許容市区マスタ</a></li>
          <li class="breadcrumb-item active">新規</li>
        </ol>
      </div>
    </div>
  </div>
</div>

<section class="content">
  <div class="container-fluid">
    {{-- 新規登録フォーム --}}
    <form id="form_add" action="{{ route('contract_allowable_cities_add') }}" method="POST">
        @csrf
        @include('admin.contract_allowable_cities._form', [
            'isEdit' => false,
            'record' => null,
            'cityList' => $cityList ?? [],
            'parkList' => $parkList ?? []
        ])
    </form>
  </div>
</section>
@endsection
