| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- {{ define "home"}}
- {{template "header"}}
- <div class="section">
-
-
- <div class="container">
- <a class="button is-primary" href="/form"><strong>Agregar</strong></a>
- <table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth">
- <thead>
- <tr class="is-link">
- <th>ID</th>
- <td>Nombre</td>
- <td>Apellidos</td>
- <td>Economia</td>
- <td>Cultura</td>
- <td>Discapacidad</td>
- <td>Acciones</td>
- </tr>
- </thead>
- <tbody>
- {{range.}}
- <tr>
- <th>{{.Id}}</th>
- <td>{{.Nombre}}</td>
- <td>{{.Apellido}}</td>
- <td>{{.Economia}}</td>
- <td>{{.Pertenecia}}</td>
- <td>{{.Discapacidad}}</td>
- <td>
-
- <a class="button is-warning" href="/editar?id={{.Id}}">Editar</a>
-
- <a class="button is-danger" href="/borrar?id={{.Id}}">Borrar</a></td>
- </tr>
- {{end}}
- </tbody>
- </table>
- </div>
- </div>
- {{ template "footer"}}
- {{end}}
|