collection-crud/app/Resources/views/previouslyownedlenses/index.html.twig

59 lines
2.5 KiB
Twig

{% extends 'base.html.twig' %}
{% block body %}
<h2>Previously Owned Lenses</h2>
<table class="hover scroll stack">
<thead>
<tr>
<th>Actions</th>
<th>Id</th>
<th>Brand</th>
<th>Coatings</th>
<th>Product Line</th>
<th>Model</th>
<th>Aperture Range</th>
<th>Focal Range</th>
<th>Serial</th>
<th>Purchase Price</th>
<th>Notes</th>
<th>Mount</th>
<th>Front Filter Size</th>
<th>Rear Filter Size</th>
<th>Is Teleconverter?</th>
<th>Design Elements/Groups</th>
<th>Aperture Blades</th>
</tr>
</thead>
<tbody>
{% for previouslyOwnedLense in previouslyOwnedLenses %}
<tr>
<td>
<ul>
<li>
<a href="{{ path('previously-owned-lens_edit', { 'id': previouslyOwnedLense.id }) }}">edit</a>
</li>
</ul>
</td>
<td><a href="{{ path('previously-owned-lens_show', { 'id': previouslyOwnedLense.id }) }}">{{ previouslyOwnedLense.id }}</a></td>
<td>{{ previouslyOwnedLense.brand }}</td>
<td>{{ previouslyOwnedLense.coatings }}</td>
<td>{{ previouslyOwnedLense.productLine }}</td>
<td>{{ previouslyOwnedLense.model }}</td>
<td>{{ previouslyOwnedLense.minFStop }} &mdash; {{ previouslyOwnedLense.maxFStop }}</td>
<td>{{ previouslyOwnedLense.minFocalLength }} &mdash; {{ previouslyOwnedLense.maxFocalLength }}</td>
<td>{{ previouslyOwnedLense.serial }}</td>
<td>${{ previouslyOwnedLense.purchasePrice }}</td>
<td>{{ previouslyOwnedLense.notes }}</td>
<td>{{ previouslyOwnedLense.mount }}</td>
<td>{{ previouslyOwnedLense.frontFilterSize }}</td>
<td>{{ previouslyOwnedLense.rearFilterSize }}</td>
<td>{% if previouslyOwnedLense.isTeleconverter %}Yes{% else %}No{% endif %}</td>
<td>{{ previouslyOwnedLense.designElements }}/{{ previouslyOwnedLense.designGroups }}</td>
<td>{{ previouslyOwnedLense.apertureBlades }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}