<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3>Carrera</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 Carrera</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=" label-align" 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($car->nom_car); ?>">
                            </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=" label-align" for="abre">Abreviatura
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <input type="text" id="abre" name="abre" required="required" class="form-control"
                                    value="<?php echo e($car->abreviatura_car); ?>">
                            </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=" label-align" for="tipo">Tipo
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <select id="tipo" name="tipo" required="required" class="form-control">
                                    <option value="">--Seleccione--</option>
                                    <?php if($car->tipo_car == 'L'): ?>
                                        <option value="L" selected>Licenciatura</option>
                                        <option value="M">Maestría</option>
                                    <?php else: ?>
                                        <option value="M" selected>Maestría</option>
                                        <option value="L">Licenciatura</option>
                                    <?php endif; ?>
                                </select>
                            </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_carrera()"><i class="fa far fa-reply"></i>
                                            Regresar</button>
                                    </div>
                                    <div class="col">
                                        <button type="button" onclick="update_carrera(this.form, <?php echo e($car->cve_car); ?>)"
                                            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/carrera/modificar.blade.php ENDPATH**/ ?>