<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3>Retícula</h3>
        </div>
    </div>

    <div class="clearfix"></div>

    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
                <div class="x_title">
                    <h2>Actualizar la retícula</h2>
                    <div class="clearfix"></div>
                </div>
                <div class="x_content">
                    <form id="form-nueva" data-parsley-validate class="form-horizontal form-label-left"
                        enctype="multipart/form-data">
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="nombre">Nombre
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <input type="text" id="nombre" name="nombre" required="required" class="form-control"
                                    value="<?php echo e($re->nombre_rec); ?>">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="clave">Clave
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <input type="text" id="clave" name="clave" required="required" class="form-control"
                                    value="<?php echo e($re->claveRec_rec); ?>">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="carrera">Carrera
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <select id="carrera" name="carrera" required="required" class="form-control">
                                    <option value="">--Seleccione--</option>
                                    <?php $__currentLoopData = $car; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php if($c->cve_car == $re->carrera->cve_car): ?>
                                            <option value="<?php echo e($c->cve_car); ?>" selected>
                                                <?php echo e($c->nom_car); ?>

                                            </option>
                                        <?php else: ?>
                                            <option value="<?php echo e($c->cve_car); ?>">
                                                <?php echo e($c->nom_car); ?>

                                            </option>
                                        <?php endif; ?>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="planest">Plan de
                                    estudios
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <select id="planest" name="planest" required="required" class="form-control">
                                    <option value="">--Seleccione--</option>
                                    <?php $__currentLoopData = $planest; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $p): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php if($p->cve_planest == $re->planEstudio->cve_planest): ?>
                                            <option value="<?php echo e($p->cve_planest); ?>" selected>
                                                <?php echo e($p->claveOfi_planest); ?>

                                            </option>
                                        <?php else: ?>
                                            <option value="<?php echo e($p->cve_planest); ?>">
                                                <?php echo e($p->claveOfi_planest); ?>

                                            </option>
                                        <?php endif; ?>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="especialidad">Especialidad
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <select id="especialidad" name="especialidad" required="required"
                                    class="form-control">
                                    <option value="">--Seleccione--</option>
                                    <?php $__currentLoopData = $esp; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $e): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php if($e->cve_esp == $re->especialidad->cve_esp): ?>
                                            <option value="<?php echo e($e->cve_esp); ?>" selected>
                                                <?php echo e($e->nombre_esp); ?> - <?php echo e($e->clave_esp); ?>

                                            </option>
                                        <?php else: ?>
                                            <option value="<?php echo e($e->cve_esp); ?>">
                                                <?php echo e($e->nombre_esp); ?> - <?php echo e($e->clave_esp); ?>

                                            </option>
                                        <?php endif; ?>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                        </div>

                        <div class="mb-1 row">
                            <div class="col-md-12 col-sm-12 col-xs-12 col-md-offset-3">

                            </div>
                        </div>
                    </form>
                    <form id="form-nueva-r" data-parsley-validate class="form-horizontal form-label-left"
                        enctype="multipart/form-data">
                        <div id="contenedor_reticula">
                        </div>
                        <div class="ln_solid"></div>

                        <div class="mb-1 row">
                            <div class="col-md-3 col-sm-12"></div>
                            <div class="col-md-6 col-sm-12">
                                <div class="row">
                                    <div class="col">
                                        <button class="btn btn-outline-dark btn-block" type="button"
                                            onclick="listado_reticula()"><i class="fa far fa-reply"></i>
                                            Regresar</button>
                                    </div>

                                    <div class="col">
                                        <button type="button" onclick="update_reticula(this.form,<?php echo e($re->cve_rec); ?>)"
                                            class="btn btn-outline-success btn-block" form="form-nueva"> Guardar <i
                                                class=" fa fas fa-paper-plane"></i></button>
                                    </div>
                                </div>

                            </div>
                            <div class="col-md-3 col-sm-12"></div>
                        </div>
                    </form>

                </div>
            </div>
        </div>
    </div>
</div>
</div>
<?php /**PATH C:\xampp\htdocs\laravel_curso\laravel_7_curso\resources\views/reticula/modificar.blade.php ENDPATH**/ ?>