
<table class="table table-hover" id="tableEstudiosAcademicos">
    <thead>
        <tr>
            <th></th>
            <th>Titulo</th>
            <th>Estado</th>
            <th>Inicio</th>
            <th>Finalización</th>
            <th>Institución</th>
            <th>tipo de estudio</th>
        </tr>
    </thead>
    <tbody>
        {% for persona in personas %}
    
        <tr>
            <td><input type="checkbox" class="flat-red" name="checkPersonasEstudios[]" 
                    value="{{ persona.estudioAcademicoID }}" data-titulo="{{ persona.estudioAcademicoTITULO }}" ></td>
            <td>{{ persona.estudioAcademicoTITULO }}</td>
            <td>{{ persona.estudioAcademicoESTADO }}</td>
            <td>{{ persona.estudioAcademicoFECHAINICIO }}</td>
            <td>
                {% if persona.estudioAcademicoESTADO == 'TERMINADO' %}
                    {{ persona.estudioAcademicoFECHAFINAL }}
                {% else %}
                    {{ persona.estudioAcademicoESTADO }}
                {% endif %}
            </td>
            <td>{{ persona.estudioAcademicoINSTITUCION }}</td>
            <td>{{ persona.tipoEstudioAcademicoID }}</td>
        </tr>
        
        {% endfor %}
    </tbody>
</table>
    
