<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>Registrar una nueva 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="id">Id del aula
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-5 col-sm-6 col-xs-12">
                                <input type="text" id="id" name="id" required="required"
                                    class="form-control form-control-sm">
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <div class="alert alert-danger" role="alert" id="a_id" style="display: none">
                                </div>
                            </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="ubicacion">Ubicación
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-5 col-sm-6 col-xs-12">
                                <input type="text" id="ubicacion" name="ubicacion" required="required"
                                    class="form-control form-control-sm">
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <div class="alert alert-danger" role="alert" id="a_ubicacion" style="display: none">
                                </div>
                            </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-5 col-sm-6 col-xs-12">
                                <input type="text" id="capacidad" name="capacidad" required="required"
                                    class="form-control form-control-sm">
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <div class="alert alert-danger" role="alert" id="a_capacidad" style="display: none">
                                </div>
                            </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-5 col-sm-6 col-xs-12">
                                <select id="cruce" name="cruce" required="required"
                                    class="form-control form-control-sm">
                                    <option value="">--Seleccione--</option>
                                    <option value="Si">Si</option>
                                    <option value="No">No</option>
                                </select>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <div class="alert alert-danger" role="alert" id="a_cruce" style="display: none">
                                </div>
                            </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-5 col-sm-6 col-xs-12">
                                <input type="text" id="tipo" name="tipo" required="required"
                                    class="form-control form-control-sm">
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <div class="alert alert-danger" role="alert" id="a_tipo" style="display: none">
                                </div>
                            </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-5 col-sm-6 col-xs-12">
                                <textarea class="form-control form-control-sm" id="observaciones" name="observaciones" rows="3"
                                    style="resize: none"></textarea>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <div class="alert alert-danger" role="alert" id="a_observaciones"
                                    style="display: none">
                                </div>
                            </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 type="button" onclick="add_aula(this.form)"
                                            class="btn btn-success btn-block" form="form-nueva"><i
                                                class=" fa fas fa-pencil"></i> Guardar </button>
                                    </div>
                                    <div class="col">
                                        <button class="btn btn-dark btn-block" type="button"
                                            onclick="listado_aula()"><i class="fa fa-times"></i> Cancelar</button>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-3 col-sm-12"></div>
                        </div>
                    </form>
                    <br>

                </div>
            </div>
        </div>
    </div>
</div>
