2017-11-09 11:53:01 -05:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
2018-02-26 15:25:15 -05:00
|
|
|
{% block title %}
|
|
|
|
Camera 📷 CRUD - Previously Owned Cameras
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-11-09 11:53:01 -05:00
|
|
|
{% block body %}
|
2018-02-14 15:08:03 -05:00
|
|
|
<h2>Previously Owned Cameras</h2>
|
2017-11-09 11:53:01 -05:00
|
|
|
|
2018-07-18 11:35:27 -04:00
|
|
|
<div class="small secondary callout">
|
|
|
|
<table class="hover scroll sortable stack">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Actions</th>
|
|
|
|
<th>Brand</th>
|
|
|
|
<th>Mount</th>
|
|
|
|
<th>Model</th>
|
|
|
|
<th>Digital?</th>
|
|
|
|
<th>Crop Factor</th>
|
|
|
|
<th>Working?</th>
|
|
|
|
<th>Serial</th>
|
|
|
|
<th>Purchase Price</th>
|
|
|
|
<th>Battery Type</th>
|
|
|
|
<th>Film Format</th>
|
|
|
|
<th>Notes</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for previouslyOwnedCamera in previouslyOwnedCameras %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('previously-owned-camera_edit', { 'id': previouslyOwnedCamera.id }) }}">
|
|
|
|
Edit
|
|
|
|
<span class="edit-icon">✎</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('previously-owned-camera_show', { 'id': previouslyOwnedCamera.id }) }}">View 👁</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td>{{ previouslyOwnedCamera.brand }}</td>
|
|
|
|
<td>{{ previouslyOwnedCamera.mount }}</td>
|
|
|
|
<td>{{ previouslyOwnedCamera.model }}</td>
|
|
|
|
<td class="text-center">{% if previouslyOwnedCamera.isDigital %}✔{% else %}✗{% endif %}</td>
|
|
|
|
<td>{{ previouslyOwnedCamera.cropFactor }}</td>
|
|
|
|
<td class="text-center">{% if previouslyOwnedCamera.isWorking %}✔{% else %}✗{% endif %}</td>
|
|
|
|
<td>{{ previouslyOwnedCamera.serial }}</td>
|
|
|
|
<td>${{ previouslyOwnedCamera.purchasePrice }}</td>
|
|
|
|
<td>{{ previouslyOwnedCamera.batteryType }}</td>
|
|
|
|
<td>{{ previouslyOwnedCamera.filmFormat }}</td>
|
|
|
|
<td>{{ previouslyOwnedCamera.notes }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2017-11-09 11:53:01 -05:00
|
|
|
{% endblock %}
|