<div>
    <form id="website-location-settings-card" onsubmit="return false" novalidate="novalidate">
        <div class="card">
            <div class="card-body">
                <h5>Ubicación y Horarios</h5>
                <div class="mb-4 fv-row">
                    <label for="contact_direccion" class="form-label">Dirección</label>
                    <input type="text" id="contact_direccion" name="contact_direccion" wire:model='contact_direccion' class="form-control" placeholder="Dirección">
                    @error("contact_direccion")
                        <span class="text-danger">{{ $message }}</span>
                    @enderror
                </div>
                <div class="mb-4 fv-row">
                    <label for="contact_horario" class="form-label">Horario</label>
                    <input type="text" id="contact_horario" name="contact_horario" wire:model='contact_horario' class="form-control" placeholder="Horario">
                    @error("contact_horario")
                        <span class="text-danger">{{ $message }}</span>
                    @enderror
                </div>
                <div class="row">
                    <div class="col-md-6 fv-row">
                        <label for="contact_location_lat" class="form-label">Latitud</label>
                        <input type="text" id="contact_location_lat" name="contact_location_lat" wire:model='contact_location_lat' class="form-control" placeholder="Latitud">
                        @error("contact_location_lat")
                            <span class="text-danger">{{ $message }}</span>
                        @enderror
                    </div>
                    <div class="col-md-6 fv-row">
                        <label for="contact_location_lng" class="form-label">Longitud</label>
                        <input type="text" id="contact_location_lng" name="contact_location_lng" wire:model='contact_location_lng' class="form-control" placeholder="Longitud">
                        @error("contact_location_lng")
                            <span class="text-danger">{{ $message }}</span>
                        @enderror
                    </div>
                </div>
            </div>
        </div>
        <div>
            {{-- Botones --}}
            <div class="row my-4">
                <div class="col-lg-12 text-end">
                    <button
                        type="submit"
                        class="btn btn-primary btn-save btn-sm mt-2 mr-2 waves-effect waves-light"
                        disabled
                        data-loading-text="Guardando...">
                        <i class="ti ti-device-floppy mr-2"></i>
                        Guardar cambios
                    </button>
                    <button
                        type="button"
                        wire:click="loadSettings"
                        class="btn btn-secondary btn-cancel btn-sm mt-2 mr-2 waves-effect waves-light"
                        disabled>
                        <i class="ti ti-rotate-2 mr-2"></i>
                        Cancelar
                    </button>
                </div>
            </div>
            {{-- Notifications --}}
            <div class="notification-container" wire:ignore></div>
        </div>
    </form>
</div>
