2017-11-09 11:53:01 -05:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
2018-02-26 15:25:15 -05:00
|
|
|
{% block title %}
|
|
|
|
Camera 📷 CRUD - Camera Types
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-11-09 11:53:01 -05:00
|
|
|
{% 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-07-23 09:52:00 -04:00
|
|
|
<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>
|
2017-11-09 11:53:01 -05:00
|
|
|
{% endblock %}
|