<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3>Aula</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 una aula</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-3 col-sm-3 col-xs-12 text-left text-md-right">
                                <label class="text-sm-left" for="ubicacion">Ubicación
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <input type="text" id="ubicacion" name="ubicacion" required="required"
                                    class="form-control" value="<?php echo e($aula->ubicacion_aula); ?>">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-3 col-sm-3 col-xs-12 text-left text-md-right">
                                <label class="text-sm-left" for="capacidad">Capacidad
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <input type="text" id="capacidad" name="capacidad" required="required"
                                    class="form-control" value="<?php echo e($aula->capacidad_aula); ?>">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-3 col-sm-3 col-xs-12 text-left text-md-right">
                                <label class="text-sm-left" for="cruce">Cruce
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <select id="cruce" name="cruce" required="required" class="form-control">
                                    <option value="">--Seleccione--</option>
                                    <?php if($aula->cruce_aula == 'Si'): ?>
                                        <option value="Si" selected>Si</option>
                                    <?php else: ?>
                                        <option value="No">No</option>
                                    <?php endif; ?>
                                    <?php if($aula->cruce_aula == 'No'): ?>
                                        <option value="No" selected>No</option>
                                    <?php else: ?>
                                        <option value="Si">Si</option>
                                    <?php endif; ?>
                                </select>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-3 col-sm-3 col-xs-12 text-left text-md-right">
                                <label class="text-sm-left" for="tipo">Tipo
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <input type="text" id="tipo" name="tipo" required="required" class="form-control"
                                    value="<?php echo e($aula->tipo_aula); ?>">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-3 col-sm-3 col-xs-12 text-left text-md-right">
                                <label class="text-sm-left" for="observaciones">Observaciones
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <textarea class="form-control" id="observaciones" name="observaciones" rows="3"
                                    style="resize: none"><?php echo e($aula->observaciones_aula); ?></textarea>
                            </div>
                        </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_aula()"><i class="fa far fa-reply"></i> Regresar</button>
                                    </div>
                                    <div class="col">
                                        <button type="button" onclick="update_aula(this.form, <?php echo e($aula->cve_aula); ?>)"
                                            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>
                    <br>

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