collection-crud/templates/previouslyownedlenses/index.html.twig

65 lines
2.0 KiB
Twig
Raw Normal View History

2017-11-09 11:53:01 -05:00
{% extends 'base.html.twig' %}
{% block title %}
Camera 📷 CRUD - Previously Owned Lenses
{% endblock %}
2017-11-09 11:53:01 -05:00
{% block body %}
2018-02-14 15:08:03 -05:00
<h2>Previously Owned Lenses</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>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>Image Size</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.imageSize }}</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>
2017-11-09 11:53:01 -05:00
{% endblock %}