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

80 lines
1.8 KiB
Twig

{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Previously Owned Camera - Show
{% endblock %}
{% block form %}
<h2>Previously Owned Camera</h2>
<div class="callout">
<ul>
<li>
<a href="{{ path('previously-owned-camera_index') }}">Back to the list</a>
</li>
<li>
<a href="{{ path('previously-owned-camera_edit', { 'id': previouslyOwnedCamera.id }) }}">Edit</a>
</li>
</ul>
</div>
<div class="large primary callout">
<table>
<tbody>
<tr>
<th>Id</th>
<td>{{ previouslyOwnedCamera.id }}</td>
</tr>
<tr>
<th>Brand</th>
<td>{{ previouslyOwnedCamera.brand }}</td>
</tr>
<tr>
<th>Mount</th>
<td>{{ previouslyOwnedCamera.mount }}</td>
</tr>
<tr>
<th>Model</th>
<td>{{ previouslyOwnedCamera.model }}</td>
</tr>
<tr>
<th>Is Digital?</th>
<td>{% if previouslyOwnedCamera.isDigital %}Yes{% else %}No{% endif %}</td>
</tr>
<tr>
<th>Crop Factor</th>
<td>{{ previouslyOwnedCamera.cropFactor }}</td>
</tr>
<tr>
<th>Is Working?</th>
<td>{% if previouslyOwnedCamera.isWorking %}Yes{% else %}No{% endif %}</td>
</tr>
<tr>
<th>Notes</th>
<td>{{ previouslyOwnedCamera.notes }}</td>
</tr>
<tr>
<th>Serial</th>
<td>{{ previouslyOwnedCamera.serial }}</td>
</tr>
<tr>
<th>Purchase Price</th>
<td>{{ previouslyOwnedCamera.purchasePrice }}</td>
</tr>
<tr>
<th>Battery Type</th>
<td>{{ previouslyOwnedCamera.batteryType }}</td>
</tr>
<tr>
<th>Film Format</th>
<td>{{ previouslyOwnedCamera.filmFormat }}</td>
</tr>
<tr>
<th>Received</th>
<td>{% if previouslyOwnedCamera.received %}Yes{% else %}No{% endif %}</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}