| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- {{ define "inicio" }}
- {{ template "cabecera"}}
- <a name="" id="" class="btn btn-primary" href="/formulario" role="button">Agregar usuario</a>
- <table class="table">
- <thead>
- <tr>
- <th>ID</th>
- <th>Nombre</th>
- <th>Fecha de Nacimiento</th>
- <th>Genero </th>
- <th>Nivel socioeconomico</th>
- <th>Neurodivergente</th>
- <th>Grupo etnico</th>
- <td> Acciones </td>
- </tr>
- </thead>
- <tbody>
- {{range.}}
- <tr>
- <td> {{.Id}} </td>
- <td> {{.Nombre}} </td>
- <td> {{.FechaNacimiento}} </td>
- <td> {{.Genero}} </td>
- <td> {{.NivelSocieconomico}} </td>
- <td> {{.Neurodivergente}} </td>
- <td> {{.GrupoEtnico}} </td>
- <td>
- <a name="" id="" class="btn btn-warning" href="/editar?id={{.Id}}" role="button">Editar</a>
- <a name="" id="" class="btn btn-danger" href="/borrar?id={{.Id}}" role="button">Borrar</a>
- </td>
- </tr>
- {{end}}
- <tr>
- <td scope="row"></td>
- <td></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- {{ template "pagina"}}
- {{ end }}
|