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

{% block metas %}
    <meta http-equiv="content-type" content="application/vnd.ms-excel; charset=UTF-8">
{% endblock %}

{% block stylesheet %}
{% endblock %}

{% block javascripts %}

{% endblock %}

{% block content %}
    {% set externo = app.session.get('externo') %}
    <div class="container-fluid">
        <h1 class="mt-4">
            Formatos
        </h1>
        <ol class="breadcrumb mb-2">
            <li class="breadcrumb-item"><a href="{{ path('cm_homepage') }}">Tablero</a></li>
            <li class="breadcrumb-item active">
                Formatos
            </li>
        </ol>
        <div class="row">
            <div class="col-lg-12">
                <div class="card border-info mb-1">
                    <div class="card-header bg-info border-info text-white">
                        <i class="fas fa-file mr-1"></i>
                        Formatos / Oficios
                    </div>
                    <div class="card-body">
                        <div class="row">
                            <form class="row small" action="{{path('formatos_oficios')}}" method="POST" id="formulario-alumno-licenciatura" target="_blank">
                                <div class="col-md-4">
                                    <label class="control-label" for="curp">SELECCIONA AL ALUMNO</label>
                                    <select class="form-select form-control-sm" id="cveAlu" name="cveAlu" >
                                        {% for a in alumnos %}
                                            <option value="{{ a.ideAlu }}">{{a.apePat}} {{a.apeMat}} {{ a.nomAlu }}</option>
                                        {% endfor %}
                                    </select>
                                </div>
                                <div class="col-md-2">
                                    <label class="control-label" for="sexAlu">FORMATO:</label>
                                    <select id="tipFor" name="tipFor" class="form-select form-control-sm">
                                        <option value="default">Selecciona</option>
                                        <option value="1">CONSTANCIA</option>
                                    </select>
                                </div>
                                <div class="col-sm-3">
                                    <label class="control-label">*</label>
                                    <button type="submit" class="btn btn-success btn-block btn-sm"><strong>IMPRIMIR</strong></button>
                                </div>
                            </form>
                        </div><!-- FIN row -->
                    </div><!-- FIN card-body -->
                </div><!-- FIN card -->
            </div><!-- FIN col-lg-12 -->
        </div><!-- FIN row -->

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




{% endblock %}