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

{% block stylesheet %}
{% endblock %}

{% block javascripts %}
{% endblock %}

{% block content %}
    <div class="row">
        <h3 class="text-center title">CONSULTA DE PROFESORES</h3>
        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 table-responsive">
            <table class="table table-condensed table-sobre table-striped">
                <thead>
                    <tr>
                        <th>No.</th>
                        <th>RFC</th>
                        <th>NOMBRE</th>
                        <th>USUARIO</th>
                        <th>CONTRASEÑA</th>
                        <th>CÉDULA</th>
                    </tr>
                </thead>
                <tbody>
                    {% if profesores is defined %}
                        {% for r in profesores %}
                            <tr>
                                <td>{{loop.index}}</td>
                                <td>{{r.rfc}}</td>
                                <td>{{r.apePat}} {{r.apeMat}} {{r.nomPro}}</td>
                                <td>{{r.usuario}}</td>
                                <td>{{r.password}}</td>
                                <td>{{r.cedula}}</td>
                                <td>
                                    <a href="{{path('editar_profesor',{'idePro' : r.idePro})}}"><i class="fa fa-edit fw"></i></a>
                                </td>
                            </tr>
                        {% endfor %}
                    {% endif %}
                </tbody>
            </table>
        </div>
    </div>

{% endblock %}
