show.html.twig 2.78 KB
{% extends 'UBVPrincipalBundle::inicio.html.twig' %}


{% block contenido %}
  <div class="row">
    <div class="col-lg-12">
      <div class="portlet">
        <div class="portlet-header">
          <div class="caption">Confirmacion</div>
           
            </div>

     
            <table class="table table-striped table-bordered table-hover">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ candidato.id }}</td>
            </tr>
            <tr>
                <th>Primer_nombre</th>
                <td>{{ candidato.primernombre }}</td>
            </tr>
            <tr>
                <th>Segundo_nombre</th>
                <td>{{ candidato.segundonombre }}</td>
            </tr>
            <tr>
                <th>Primer_apellido</th>
                <td>{{ candidato.primerapellido }}</td>
            </tr>
            <tr>
                <th>Segundo_apellido</th>
                <td>{{ candidato.segundoapellido }}</td>
            </tr>
            <tr>
                <th>Identificacion</th>
                <td>{{ candidato.identificacion }}</td>
            </tr>
            <tr>
                <th>Fecha_nacimiento</th>
                <td>{% if candidato.fechanacimiento %}{{ candidato.fechanacimiento|date('d-m-Y') }}{% endif %}</td>
            </tr>
            <tr>
                <th>Telefono</th>
                <td>{{ candidato.telefono }}</td>
            </tr>
            <tr>
                <th>Correo</th>
                <td>{{ candidato.correo }}</td>
            </tr>
            <tr>
                <th>Id_opsu</th>
                <td>{{ candidato.idopsu }}</td>
            </tr>
            <tr>
                <th>Ano_grado</th>
                <td>{% if candidato.anogrado %}{{ candidato.anogrado|date('d-m-Y') }}{% endif %}</td>
            </tr>
            <tr>
                <th>Trabaja</th>
                <td>{% if candidato.trabaja %}Yes{% else %}No{% endif %}</td>
            </tr>
            <tr>
                <th>Promedio_nota</th>
                <td>{{ candidato.promedionota }}</td>
            </tr>
        </tbody>
    </table>

    <ul>
        <a href="{{ path('candidato_index') }}">
                  <button type="button" class="btn btn-primary mrs"><i
                      class="fa fa-filter"></i>&nbsp; Pagina Principal
                  </button>
                </a>
        
         <a href="{{ path('candidato_edit', { 'id': candidato.id }) }}">  <button type="button" class="btn btn-primary mrs"><i
                      class="fa fa-filter"></i>&nbsp; Editar
                  </button>
                </a>
                        
                   {{ form_start(delete_form) }}
                <input type="submit" value="Delete">
            {{ form_end(delete_form) }}
       
    </ul>
{% endblock %}