49 lines
934 B
Twig
49 lines
934 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}
|
|
Camera 📷 CRUD - Camera Types
|
|
{% endblock %}
|
|
|
|
{% 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>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
|
|
<span class="edit-icon">✎</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ path('camera-type_show', { 'id': cameraType.id }) }}">View 👁</a>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
<td>{{ cameraType.type }}</td>
|
|
<td>{{ cameraType.description }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|