2017-11-09 11:53:01 -05:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block body %}
|
2018-02-14 15:08:03 -05:00
|
|
|
<h2>Previously Owned Cameras</h2>
|
2017-11-09 11:53:01 -05:00
|
|
|
|
2018-02-14 15:08:03 -05:00
|
|
|
<table class="hover scroll stack">
|
|
|
|
<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>
|
2017-11-09 11:53:01 -05:00
|
|
|
{% endblock %}
|