41 lines
1.1 KiB
Twig
41 lines
1.1 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block body %}
|
|
<h2>Camera Types</h2>
|
|
|
|
<div class="small primary callout">
|
|
<ul>
|
|
<li>
|
|
<a href="{{ path('camera-type_new') }}">Add a Camera Type</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<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>
|
|
{% endblock %}
|