

<?php $__env->startSection('breadcrumb'); ?>
	<li class="breadcrumb-item"><a href="javascript:void(0);">Configuraciones</a></li>
    <li class="breadcrumb-item active" aria-current="page"><span>Contacto</span></li>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('css'); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="row layout-spacing layout-top-spacing feather-icon">
    <div id="font-icon_feather" class="col-lg-12">
        <div class="statbox widget box box-shadow">
            <div class="widget-content widget-content-area bx-top-6">
                <div class="icon-section">
                    <div class="row">
                        <div class="col-xl-12">
                        	
                            <center><h4>Actualizar Contactos</h4></center>
                            <hr>

                            <form action="<?php echo e(route('contacto.update')); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                
                                <div class="container">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <h6>Correo eletrónico </h6>
                                            <input type="email" name="email" value="<?php echo e($contacto[1]->data); ?>" class="form-control" placeholder="Correo eletrónico"><br>
                                        </div>
                                        <div class="col-md-6">
                                            <h6>Número de teléfono </h6>
                                            <input type="number" name="telefono" value="<?php echo e($contacto[0]->data); ?>" class="form-control" placeholder="Número de teléfono"><br>
                                        </div>
                                    </div>

                                    <?php for($i=2; $i<6;$i++): ?>
                                        <?php $data = $contacto[$i]; ?>
                                        <div class="row">
                                            <div class="col-md-12">
                                                <h6><?php echo e($data->descripcion); ?> </h6>
                                                <input type="text" name="<?php echo e($data->descripcion); ?>" class="form-control" value="<?php echo e($data->data); ?>"><br>
                                            </div>
                                        </div>
                                    <?php endfor; ?> 
                                </div>
                                    
                                

                                <div class="row">
                                    <div class="col">
                                        <button type="submit" class="btn btn-primary float-right">Actualizar</button>
                                    </div>
                                </div>
                            </form>                                         
                        </div>
                    </div>
                </div>         
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
    
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\guatehoteles\resources\views/admin/configuraciones/contacto.blade.php ENDPATH**/ ?>