53 lines
2.0 KiB
Twig
53 lines
2.0 KiB
Twig
|
{% extends 'base.html.twig' %}
|
||
|
|
||
|
{% block body %}
|
||
|
<h1>Previously Owned Cameras</h1>
|
||
|
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Actions</th>
|
||
|
<th>Id</th>
|
||
|
<th>Brand</th>
|
||
|
<th>Mount</th>
|
||
|
<th>Model</th>
|
||
|
<th>Is Digital?</th>
|
||
|
<th>Crop Factor</th>
|
||
|
<th>Is Working?</th>
|
||
|
<th>Notes</th>
|
||
|
<th>Serial</th>
|
||
|
<th>Purchase Price</th>
|
||
|
<th>Battery Type</th>
|
||
|
<th>Film Format</th>
|
||
|
<th>Received</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for previouslyOwnedCamera in previouslyOwnedCameras %}
|
||
|
<tr>
|
||
|
<td>
|
||
|
<ul>
|
||
|
<li>
|
||
|
<a href="{{ path('previously-owned-camera_edit', { 'id': previouslyOwnedCamera.id }) }}">edit</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</td>
|
||
|
<td><a href="{{ path('previously-owned-camera_show', { 'id': previouslyOwnedCamera.id }) }}">{{ previouslyOwnedCamera.id }}</a></td>
|
||
|
<td>{{ previouslyOwnedCamera.brand }}</td>
|
||
|
<td>{{ previouslyOwnedCamera.mount }}</td>
|
||
|
<td>{{ previouslyOwnedCamera.model }}</td>
|
||
|
<td>{% if previouslyOwnedCamera.isDigital %}Yes{% else %}No{% endif %}</td>
|
||
|
<td>{{ previouslyOwnedCamera.cropFactor }}</td>
|
||
|
<td>{% if previouslyOwnedCamera.isWorking %}Yes{% else %}No{% endif %}</td>
|
||
|
<td>{{ previouslyOwnedCamera.notes }}</td>
|
||
|
<td>{{ previouslyOwnedCamera.serial }}</td>
|
||
|
<td>{{ previouslyOwnedCamera.purchasePrice }}</td>
|
||
|
<td>{{ previouslyOwnedCamera.batteryType }}</td>
|
||
|
<td>{{ previouslyOwnedCamera.filmFormat }}</td>
|
||
|
<td>{% if previouslyOwnedCamera.received %}Yes{% else %}No{% endif %}</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
{% endblock %}
|