Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 2, 2019 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/0a4192f2f0eb9675bd8892cdd85301b4 to your computer and use it in GitHub Desktop.
Save parzibyte/0a4192f2f0eb9675bd8892cdd85301b4 to your computer and use it in GitHub Desktop.
<table>
<thead>
<tr>
<th>Nombre</th>
<th>Precio</th>
<th>Índice</th>
</tr>
</thead>
<tbody>
<tr th:each="producto,iterador : ${productos}">
<td th:text="${producto.nombre}"></td>
<td th:text="${producto.precio}"></td>
<td th:text="${iterador.index}"></td>
</tr>
</tbody>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment