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

44 lines
776 B
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'form.html.twig' %}
{% block form %}
2018-01-04 10:42:36 -05:00
<h2>Camera Type</h2>
2017-11-09 11:53:01 -05:00
2018-01-04 10:42:36 -05:00
<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>
2017-11-10 15:50:05 -05:00
2018-01-04 10:42:36 -05:00
<hr/>
2017-11-10 15:50:05 -05:00
2017-11-09 11:53:01 -05:00
2018-01-04 10:42:36 -05:00
{{ form_start(delete_form) }}
<button type="submit" class="alert button">Delete Camera Type</button>
{{ form_end(delete_form) }}
2017-11-10 15:50:05 -05:00
</div>
<div class="large primary callout">
2018-01-04 10:42:36 -05:00
<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>
2017-11-09 11:53:01 -05:00
</div>
{% endblock %}