@extends('layouts.app')

@section('content')

    <div class="container-fluid">
    <div class="d-flex justify-content-between align-items-center mb-3">
        <h3 class="mb-0">新規登録</h3>
        <ol class="breadcrumb float-sm-right text-sm mb-0" style="background: #f8f9fa;">
            <li class="breadcrumb-item"><a href="{{ url('/home') }}">ホーム</a></li>
            <li class="breadcrumb-item"><a href="{{ route('city') }}">市区マスタ</a></li>
           <li class="breadcrumb-item active">新規</li>
        </ol>
    </div>
        <div class="card shadow mb-4">
            <div class="card-body">
                <form method="POST" action="{{ route('city_add') }}">
                    @csrf
                    @include('admin.CityMaster._form', ['isEdit' => 0, 'isInfo' => 0])
                    <div class="mt-3">
                        <button type="submit" class="btn btn-primary" onclick="return confirm('登録してよろしいですか？');">登録</button>
                        <a href="{{ route('city') }}" class="btn btn-secondary">戻る</a>
                    </div>
                </form>
            </div>
        </div>
    </div>
@endsection