{% extends 'CmBundle:Z:baseDos.html.twig' %}

{% block stylesheet %}
{% endblock %}

{% block javascripts %}
{% endblock %}

{% block content %}
    <div class="container-fluid">
        <h1 class="mt-4">REGISTRO DE MAESTRIAS</h1>
        <ol class="breadcrumb mb-2">
            <li class="breadcrumb-item active">Tablero</a></li>
        </ol>
        <div class="row">

            <div class="col-lg-12">
                <form class="row small g-3" action="{{path('alta_licenciatura',{b : 4})}}" method="POST">
                    <div class="col-lg-4">
                        <label class="control-label" for="cveCar">CLAVE:</label>
                        <input type="text" class="form-control form-control-sm" id="cveCar" name="cveCar" placeholder="Ingresa clave">
                    </div>
                    <div class="col-lg-4">
                        <label class="control-label" for="nomCar">NOMBRE MAESTRÍA:</label>
                        <input type="text" class="form-control form-control-sm" id="nomCar" name="nomCar" placeholder="Ingresa nombre">
                    </div>
                    <div class="col-lg-4">
                        <label class="control-label" for="modalidad">MODALIDAD:</label>
                        <select id="modalidad" name="modalidad" class="form-select form-select-sm">
                            <option value="SEMESTRAL">SEMESTRAL</option>
                            <option value="CUATRIMESTRAL" selected="true">CUATRIMESTRAL</option>
                        </select>
                    </div>
                    <div class="col-lg-4">
                        <label class="control-label" for="monto">Estatus:</label>
                        <select id="estatus" name="estatus" class="form-select form-select-sm">
                            {% if estatus is defined %}
                                {% for e in estatus %}
                                    {% if e.tipEst == 5 %}
                                        <option value="{{e.ideEst}}">{{e.desEst}}</option>
                                    {% endif %}
                                {% endfor %}
                            {% endif %}
                        </select>
                    </div>
                    <div class="col-lg-4">
                        <label class="control-label" for="durCar">DURACIÓN:</label>
                        <input type="number" class="form-control form-control-sm" id="durCar" name="durCar" placeholder="Duración en años">
                    </div>
                    <div class="col-lg-4">
                        <label class="control-label" for="tipCar">TIPO:</label>
                        <select id="tipCar" name="tipCar" class="form-select form-select-sm">
                            <option value="1">Lic. Escolarizada Semestral</option>
                            <option value="2">Lic. Mixta Semestral</option>
                            <option value="3">Lic. Escolarizada Cuatrimestral</option>
                            <option value="4" selected="true">Lic. Mixta Cuatrimestral</option>
                            <option value="5">Lic. Escolarizada Semestral Estatal</option>
                            <option value="6">Lic. Escolarizada Cuatrimestral Estatal</option>
                        </select>
                    </div>
                    <div class="col-lg-12">
                        <div class="col-sm-offset-2 text-right">
                            <button type="submit" class="btn btn-primary btn-sm">Registrar</button>
                        </div>
                    </div>
                </form>
            </div>

        </div><!-- FIN row -->
    </div><!-- FIN container-fluid -->

{% endblock %}