templates/diagnosticos_historia_clinica/index_aj.html.twig line 1

Open in your IDE?
  1. <h4>Diagnósticos</h4>
  2.     <table class="table">
  3.         <thead>
  4.             <tr>
  5.                 <th>Tipo</th>
  6.                 <th>Código</th>
  7.                 <th>Descripción</th>
  8.                 <th>actions</th>
  9.             </tr>
  10.         </thead>
  11.         <tbody>
  12.         {% for diagnosticos_historia_clinica in diagnosticos_historia_clinicas %}
  13.             <tr>
  14.                 <td>{{ diagnosticos_historia_clinica.tipo }}</td>
  15.                 <td>{{ diagnosticos_historia_clinica.cie10.codigo }}</td>
  16.                 <td>{{ diagnosticos_historia_clinica.cie10.nombre }}</td>
  17.                 <td>
  18.                     <button type="button" class="btn btn-danger btn-sm" onclick="eliminar('{{diagnosticos_historia_clinica.id}}')">Eliminar</button>
  19.                 </td>
  20.             </tr>
  21.         {% else %}
  22.             <tr>
  23.                 <td colspan="9">no records found</td>
  24.             </tr>
  25.         {% endfor %}
  26.         </tbody>
  27.     </table>