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

76 lines
1.7 KiB
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'form.html.twig' %}
{% block form %}
2018-02-14 15:08:03 -05:00
<h2>Previously Owned Camera</h2>
2017-11-09 11:53:01 -05:00
2018-02-14 15:08:03 -05:00
<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>
2017-11-09 11:53:01 -05:00
2017-11-10 15:50:05 -05:00
<div class="large primary callout">
2018-02-14 15:08:03 -05:00
<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>
2017-11-09 11:53:01 -05:00
</div>
{% endblock %}