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

44 lines
776 B
Twig

{% extends 'form.html.twig' %}
{% block form %}
<h2>Camera Type</h2>
<div class="small callout">
<ul>
<li>
<a href="{{ path('camera-type_index') }}">Back to the list</a>
</li>
<li>
<a href="{{ path('camera-type_edit', { 'id': cameraType.id }) }}">Edit</a>
</li>
</ul>
<hr/>
{{ form_start(delete_form) }}
<button type="submit" class="alert button">Delete Camera Type</button>
{{ form_end(delete_form) }}
</div>
<div class="large primary callout">
<table>
<tbody>
<tr>
<th>Id</th>
<td>{{ cameraType.id }}</td>
</tr>
<tr>
<th>Type</th>
<td>{{ cameraType.type }}</td>
</tr>
<tr>
<th>Description</th>
<td>{{ cameraType.description }}</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}