<div class="card card-primary">
    <div class="card-header">
        <h3 class="card-title">Rapporto tecnico descrittivo incidente
            stradale</h3>
    </div>
    <div class="card-body">
        <div class="row">
            <div class="col-sm-4">
                <div class="form-group">
                    <label>Località</label>
                    <select class="form-control select2 localita_uno" wire:model="localita_uno"
                        style="width:100%">
                        <option value="{{ $localita_uno }}">
                            {{ $this->getLocalita($localita_uno) }}
                    </select>
                </div>
            </div>
            <div class="col-sm-4">
                <div class="form-group">
                    <label>Indirizzo</label>
                    <select class="form-control select2 localita_due" wire:model="localita_due"
                        style="width:100%">
                        <option value="{{ $localita_due }}">
                            {{ $this->getStradario($localita_due) }}
                    </select>
                </div>
            </div>
            <div class="col-sm-4">
                <div class="form-group">
                    <label>Intersezione con</label>
                    <select class="form-control select2 intersezione_con" wire:model="intersezione_con"
                        style="width:100%">
                        <option value="{{ $intersezione_con }}">
                            {{ $this->getStradario($intersezione_con) }}
                    </select>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-4">
                <div class="form-group">
                    <label>In prossimità del civico</label>
                    <input class="form-control" type="text" wire:model="prossimita_civico">
                </div>
            </div>
            <div class="col-sm-4">
                <div class="form-group">
                    <label>In prossimità del palo della luce</label>
                    <input class="form-control" type="text" wire:model="prossimita_palo_luce">
                </div>
            </div>
            <div class="col-sm-4">
                <div class="form-group">
                    <label>In prossimità del km</label>
                    <input class="form-control" type="text" wire:model="prossimita_chilometro">
                </div>
            </div>
        </div>
        {{-- <div class="row">
            <div class="col-sm-4">
                <div class="form-group">
                    <label>Coordinate X</label>
                    <input class="form-control" type="text" wire:model="coordinate_x">
                </div>
            </div>
            <div class="col-sm-4">
                <div class="form-group">
                    <label>Coordinate Y</label>
                    <input class="form-control" type="text" wire:model="coordinate_y">
                </div>x
            </div>
             <div class="col-sm-4">
                <div class="form-group">
                    <label>&nbsp;</label>
                    <button class="btn btn-secondary btn-block" type="button" wire:click="getLocationCoordinates">
                        Coordinate
                    </button>
                </div>
            </div>
        </div> --}}
        <div class="row">
            <div class="col-sm-12">
                <div class="form-group">
                    <label>Note aggiuntive</label>
                    <textarea class="form-control" rows="10" wire:model="note_aggiuntive"></textarea>
                </div>
            </div>
        </div>
    </div>
</div>
