@extends('layouts.app')

@section('content')

<div class="container-fluid">
    <div class="row">
        <div class="col">
            <div class="card">
                <div class="card-header">
                    Quel est le type du bien ?
                </div>
                <div class="card-body">
                    <form action="{{ route('bien.type.form',$bienId) }}" method="GET">
                    @csrf
                        <div class="row">
                            <div class="col-6">
                                <select 
                                class="form-control mb-4"
                                name="type"
                                id="">
                                    <option value="maison">Maison</a></option>
                                    <option value="appartement">Appartement</option>
                                    <option value="agricole_viticole">Agricole ou viticole</option>
                                    <option value="demeure">Demeure</option>
                                    <option value="immeuble">Immeuble</option>
                                    <option value="terrain">Terrain</option>
                                    <option value="local_commercial">Local commercial</option>
                                    <option value="local_industriel">Local industriel</option>
                                    <option value="parking">Parking</option>
                                    <option value="fond_commerce">Fond de commerce</option>
                                    <option value="foret">Forêt</option>
                                </select>

                                <input type="text" name="bien_id" value="{{ $bienId }}" hidden>
                            </div>

                            <div class="col-6">
                                <button class="btn btn-primary" type="submit">Etape suivante</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

@endsection