Skip to content

Commit

Permalink
[GREEN] River CRUD: customized view for index action
Browse files Browse the repository at this point in the history
  • Loading branch information
gajdaw committed Jan 3, 2015
1 parent 4aa8f12 commit 9203118
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/AppBundle/Resources/views/River/index.html.twig
Expand Up @@ -15,8 +15,12 @@
<tbody>
{% for entity in entities %}
<tr>
<td><a href="{{ path('admin_river_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
<td>{{ entity.name }}</td>
<td>{{ loop.index }}.</td>
<td>
<a href="{{ path('admin_river_show', { 'id': entity.id }) }}">
{{ entity.name }}
</a>
</td>
<td>{{ entity.length }}</td>
<td>
<ul>
Expand Down

0 comments on commit 9203118

Please sign in to comment.