<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3>Temario</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>Registrar un nuevo temario</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="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="materia">Materia <span
                                        class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <select id="materia" name="materia" required="required" class="form-control">
                                    <option value="">--Seleccione--</option>
                                    <?php $__currentLoopData = $mat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $m): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($m->cve_mat); ?>"><?php echo e($m->nom_mat); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="horasT">Horas
                                    teóricas <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <input type="text" id="horasT" name="horasT" required="required" class="form-control"
                                    oninput="total_horas_materias()">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="horasP">Horas
                                    practicas <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <input type="text" id="horasP" name="horasP" required="required" class="form-control"
                                    oninput="total_horas_materias()">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="totalH">Total
                                    de horas <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <input type="text" id="totalH" name="totalH" required="required" class="form-control"
                                    disabled>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-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">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="competenciasdesa">Competencias
                                    a desarrollar <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <textarea class="form-control" id="competenciasdesa" name="competenciasdesa" rows="3" style="resize: none"></textarea>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="competenciaspre">Competencias
                                    previas <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <textarea class="form-control" id="competenciaspre" name="competenciaspre" rows="3" style="resize: none"></textarea>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="numero">No.
                                    de la unidad <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <input type="text" id="numero" name="numero" required="required" class="form-control">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="tema">Tema
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <input type="text" id="tema" name="tema" required="required" class="form-control">
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="subtema">Subtema <span
                                        class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <textarea class="form-control" id="subtema" name="subtema" rows="7" style="resize: none"></textarea>
                            </div><br>
                            <div class="col-md-1 col-sm-2 col-xs-12 m-1">
                                <button type="button" class="btn btn-outline-secondary" onClick="mas_unidades()"><i
                                        class="fa fa-plus"></i>
                                </button>
                            </div>
                        </div>

                        <div id="contenedor_unidades">
                        </div>
                        <br>
                        <div class="x_title">
                            <h2>Actividades de aprendizaje</h2>
                            <div class="clearfix"></div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="nouni">No. Unidad <span
                                        class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <select id="nouni" name="nouni" required="required" class="form-control">
                                    <option value="">--Seleccione--</option>
                                </select>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="competenciaesp">Competencia
                                    especifica <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <textarea class="form-control" id="competenciaesp" name="competenciaesp" rows="3" style="resize: none"></textarea>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                <label class="text-sm-left" for="competenciagen">Competencia
                                    genérica <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <textarea class="form-control" id="competenciagen" name="competenciagen" rows="3" style="resize: none"></textarea>
                            </div><br>
                            <div class="col-md-1 col-sm-2 col-xs-12 m-2">
                                <button type="button" class="btn btn-outline-secondary" onclick="mas_competencias()"><i
                                        class="fa fa-plus"></i>
                                </button>
                            </div>
                        </div>
                        <div id="contenedor_competencias">
                        </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="history.back()"><i class="fa far fa-reply"></i> Regresar</button>
                                    </div>
                                    <div class="col">
                                        <button class="btn btn-outline-primary btn-block" type="reset"
                                            onclick="limpiar_general()">Limpiar</button>
                                    </div>
                                    <div class="col">
                                        <button type="button" onclick="add_unidad(this.form)"
                                            class="btn btn-outline-success btn-block" form="form-nueva">Enviar <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/temario/nuevo.blade.php ENDPATH**/ ?>