

<?php $__env->startSection('breadcrumb'); ?>
    <li class="breadcrumb-item" aria-current="page"><a href="<?php echo e(route('servicios.index')); ?>">Servicios</a></li>
    <li class="breadcrumb-item" aria-current="page"><span>Subservicios</span></li>
    <li class="breadcrumb-item active" aria-current="page"><span>Registrar</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">
                        	<a href="<?php echo e(route('subservicios.index',$id_servicio)); ?>" class="ml-1 mr-2 btn btn-dark float-left rounded-circle bs-tooltip" 
                                        data-toggle="tooltip" data-placement="bottom"
                                        title="Volver">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-left"><polyline points="15 18 9 12 15 6"></polyline></svg>
                                    </a>
                            <center><h4>Registrar subservicio</h4></center>
                            <hr>

                            <form action="<?php echo e(route('subservicios.store',$id_servicio)); ?>" method="post" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>

                                <div class="row">
                                    <div class="col">
                                        <h6>Nombre del servicio <strong class="text-danger">*</strong></h6>
                                        <input type="text" name="servicio" class="form-control  <?php if(session('error_servicio')): ?> is-invalid <?php endif; ?>" placeholder=" Ej. WiFI">
                                        <div class="invalid-feedback">
                                               <?php if(session('error_servicio')): ?> <?php echo e(session('error_servicio')); ?> <?php endif; ?>
                                            </div>
                                       <br>
                                    </div>
                                </div>


                                <div class="row">
                                    <div class="col">
                                        <button type="submit" class="btn btn-primary float-right">Registrar</button>
                                    </div>
                                </div>
                            </form>                                         
                        </div>
                    </div>
                </div>         
            </div>
        </div>
    </div>
</div>
<?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/servicios/subservicios/create.blade.php ENDPATH**/ ?>