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

98 lines
2.3 KiB
Twig

{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Previously Owned Lens - Edit
{% endblock %}
{% block form %}
<h2>Previously Owned Lens</h2>
<div class="callout">
<ul>
<li>
<a href="{{ path('previously-owned-lens_index') }}">Back to the list</a>
</li>
<li>
<a href="{{ path('previously-owned-lens_edit', { 'id': previouslyOwnedLense.id }) }}">Edit</a>
</li>
</ul>
</div>
<div class="large primary callout">
<table>
<tbody>
<tr>
<th>Id</th>
<td>{{ previouslyOwnedLense.id }}</td>
</tr>
<tr>
<th>Brand</th>
<td>{{ previouslyOwnedLense.brand }}</td>
</tr>
<tr>
<th>Coatings</th>
<td>{{ previouslyOwnedLense.coatings }}</td>
</tr>
<tr>
<th>Product Line</th>
<td>{{ previouslyOwnedLense.productLine }}</td>
</tr>
<tr>
<th>Model</th>
<td>{{ previouslyOwnedLense.model }}</td>
</tr>
<tr>
<th>Aperture Range</th>
<td>ƒ {{ previouslyOwnedLense.minFStop }} &mdash; {{ previouslyOwnedLense.maxFStop }}</td>
</tr>
<tr>
<th>Focal Range</th>
<td>{{ previouslyOwnedLense.minFocalLength }} &mdash; {{ previouslyOwnedLense.maxFocalLength }}mm</td>
</tr>
<tr>
<th>Serial</th>
<td>{{ previouslyOwnedLense.serial }}</td>
</tr>
<tr>
<th>Purchase Price</th>
<td>${{ previouslyOwnedLense.purchasePrice }}</td>
</tr>
<tr>
<th>Notes</th>
<td>{{ previouslyOwnedLense.notes }}</td>
</tr>
<tr>
<th>Mount</th>
<td>{{ previouslyOwnedLense.mount }}</td>
</tr>
<tr>
<th>Image Size</th>
<td>{{ previouslyOwnedLense.imageSize }}</td>
</tr>
<tr>
<th>Front Filter Size</th>
<td>{{ previouslyOwnedLense.frontFilterSize }}</td>
</tr>
<tr>
<th>Rear Filter Size</th>
<td>{{ previouslyOwnedLense.rearFilterSize }}</td>
</tr>
<tr>
<th>Is Teleconverter</th>
<td>{% if previouslyOwnedLense.isTeleconverter %}Yes{% else %}No{% endif %}</td>
</tr>
<tr>
<th>Design Elements / Groups</th>
<td>{{ previouslyOwnedLense.designElements }} / {{ previouslyOwnedLense.designGroups }}</td>
</tr>
<tr>
<th>Aperture Blades</th>
<td>{{ previouslyOwnedLense.apertureBlades }}</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}