collection-crud/templates/cameratype/index.html.twig

41 lines
812 B
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'base.html.twig' %}
{% block body %}
2018-02-14 15:08:03 -05:00
<h2>Camera Types</h2>
2017-11-09 11:53:01 -05:00
2017-11-10 15:50:05 -05:00
<div class="small primary callout">
2018-02-14 15:08:03 -05:00
<ul>
<li>
<a href="{{ path('camera-type_new') }}">Add a Camera Type</a>
</li>
</ul>
2017-11-09 11:53:01 -05:00
</div>
2018-02-14 15:08:03 -05:00
<table class="hover scroll stack">
<thead>
<tr>
<th>Actions</th>
<th>Id</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{% for cameraType in cameraTypes %}
<tr>
<td>
<ul>
<li>
<a href="{{ path('camera-type_edit', { 'id': cameraType.id }) }}">edit</a>
</li>
</ul>
</td>
<td><a href="{{ path('camera-type_show', { 'id': cameraType.id }) }}">{{ cameraType.id }}</a></td>
<td>{{ cameraType.type }}</td>
<td>{{ cameraType.description }}</td>
</tr>
{% endfor %}
</tbody>
</table>
2017-11-09 11:53:01 -05:00
{% endblock %}