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

40 lines
870 B
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'form.html.twig' %}
{% block form %}
2017-11-10 15:50:05 -05:00
<h2>Camera Type</h2>
2017-11-09 11:53:01 -05:00
2017-11-22 13:49:31 -05:00
<div class="small callout">
2017-11-10 15:50:05 -05:00
<ul>
<li>
2017-11-09 11:53:01 -05:00
<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>
2017-11-10 15:50:05 -05:00
</ul>
<hr />
2017-11-09 11:53:01 -05:00
2017-11-10 15:50:05 -05:00
{{ form_start(delete_form) }}
<button type="submit" class="alert button">Delete Camera Type</button>
{{ form_end(delete_form) }}
</div>
<div class="large primary callout">
2017-11-09 11:53:01 -05:00
<table>
<tbody>
<tr>
<th>Id</th>
<td>{{ cameraType.id }}</td>
</tr>
<tr>
<th>Type</th>
<td>{{ cameraType.type }}</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}