Skip to content

Instantly share code, notes, and snippets.

@eserdinyo
Last active November 8, 2018 13:29
Show Gist options
  • Save eserdinyo/38f9450ee0ee9373ff03236c46c4859e to your computer and use it in GitHub Desktop.
Save eserdinyo/38f9450ee0ee9373ff03236c46c4859e to your computer and use it in GitHub Desktop.
symfony listing
{% for game in games %}
<tr>
<td>{{game.id}}</td>
<td>{{game.name}}</td>
<td>{{game.price}}</td>
<td><a href="{{ path("edit-game", {'id': game.id} ) }}"> Edit </a></td>
<td><a href="{{ path("delete-game", {'id': game.id} ) }}"> Delete </a></td>
</tr>
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment