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

{% block stylesheet %}
    <!-- Bootstrap Core CSS -->
    <link href="{{asset('vendor/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet">

    <!-- MetisMenu CSS -->
    <link href="{{asset('vendor/metisMenu/metisMenu.min.css')}}" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="{{asset('dist/css/sb-admin-2.css')}}" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="{{asset('vendor/font-awesome/css/font-awesome.min.css')}}" rel="stylesheet" type="text/css">
{% endblock %}

{% block javascripts %}
    <!-- jQuery -->
    <script src="{{asset('vendor/jquery/jquery.min.js')}}"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="{{asset('vendor/bootstrap/js/bootstrap.min.js')}}"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="{{asset('vendor/metisMenu/metisMenu.min.js')}}"></script>

    <!-- Custom Theme JavaScript -->
    <script src="{{asset('dist/js/sb-admin-2.js')}}"></script>
{% endblock %}

{% block content %}
    <div class="row">
        <h3 class="text-center">REGISTRO DE COLEGIATURAS</h3>
        <div class="col-lg-2 col-md-2 col-sm-2 hidden-xs">
        </div>
        <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">
            <form class="form-horizontal" action="{{path('alta_colegiatura')}}" method="POST">
                <div class="form-group">
                    <label class="control-label col-sm-2" for="licenciatura">Licenciatura:</label>
                    <div class="col-sm-10">
                        <select id="licenciatura" name="licenciatura" class="form-control">
                            {% if licenciaturas is defined %}
                                {% for l in licenciaturas %}
                                    <option value="{{l.ideLic}}">{{l.nomLic}} : {{l.modalidad}}</option>
                                {% endfor %}
                            {% endif %}
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2" for="cvePla">Clave:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="cveCol" name="cveCol" placeholder="Clave de Colegiatura">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2" for="nomCol">Nombre:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="nomCol" name="nomCol" placeholder="Nombre">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2" for="monto">Monto:</label>
                    <div class="col-sm-10">
                        <input type="number" class="form-control" id="monto" name="monto" placeholder="Monto">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2" for="monto">Estatus:</label>
                    <div class="col-sm-10">
                        <select id="estatus" name="estatus" class="form-control">
                            {% if estatus is defined %}
                                {% for e in estatus %}
                                    {% if e.tipEst == 3 %}
                                        <option value="{{e.ideEst}}">{{e.desEst}}</option>
                                    {% endif %}
                                {% endfor %}
                            {% endif %}
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10 text-right">
                        <button type="submit" class="btn btn-primary">Registrar</button>
                    </div>
                </div>
            </form>
        </div>
    </div>

{% endblock %}