2017-11-09 11:53:01 -05:00
|
|
|
{% extends 'form.html.twig' %}
|
|
|
|
|
2018-02-26 15:25:15 -05:00
|
|
|
{% block title %}
|
|
|
|
Camera 📷 CRUD - Lens - Show
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-11-09 11:53:01 -05:00
|
|
|
{% block form %}
|
2018-02-14 15:08:03 -05:00
|
|
|
<h2>Lens</h2>
|
2017-11-09 11:53:01 -05:00
|
|
|
|
2018-02-14 15:08:03 -05:00
|
|
|
<div class="callout">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('lens_index') }}">Back to the list</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('lens_edit', { 'id': lense.id }) }}">Edit</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2017-11-10 15:50:05 -05:00
|
|
|
|
2018-02-14 15:08:03 -05:00
|
|
|
<hr>
|
2017-11-10 15:50:05 -05:00
|
|
|
|
2018-02-14 15:08:03 -05:00
|
|
|
{{ form_start(delete_form) }}
|
2018-07-16 14:03:02 -04:00
|
|
|
<button type="submit" class="alert button expanded">Delete Lens</button>
|
2018-02-14 15:08:03 -05:00
|
|
|
{{ form_end(delete_form) }}
|
|
|
|
</div>
|
2017-11-09 11:53:01 -05:00
|
|
|
|
2017-11-10 15:50:05 -05:00
|
|
|
<div class="large primary callout">
|
2018-02-14 15:08:03 -05:00
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Id</th>
|
|
|
|
<td>{{ lense.id }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Brand</th>
|
|
|
|
<td>{{ lense.brand }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Coatings</th>
|
|
|
|
<td>{{ lense.coatings }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Product Line</th>
|
|
|
|
<td>{{ lense.productLine }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Model</th>
|
|
|
|
<td>{{ lense.model }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Aperture Range</th>
|
|
|
|
<td>ƒ {{ lense.minFStop }} — {{ lense.maxFStop }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Focal Range</th>
|
|
|
|
<td>{{ lense.minFocalLength }} — {{ lense.maxFocalLength }}mm</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Serial</th>
|
|
|
|
<td>{{ lense.serial }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Purchase Price</th>
|
|
|
|
<td>{{ lense.purchasePrice }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Notes</th>
|
|
|
|
<td>{{ lense.notes }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Mount</th>
|
|
|
|
<td>{{ lense.mount }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Image Size</th>
|
|
|
|
<td>{{ lense.imageSize }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Received</th>
|
|
|
|
<td>{% if lense.received %}Yes{% else %}No{% endif %}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Formerly Owned?</th>
|
|
|
|
<td>{% if lense.formerlyOwned %}Yes{% else %}No{% endif %}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Front Filter Size</th>
|
|
|
|
<td>{{ lense.frontFilterSize }}mm</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Rear Filter Size</th>
|
|
|
|
<td>{{ lense.rearFilterSize }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Is Teleconverter?</th>
|
|
|
|
<td>{% if lense.isTeleconverter %}Yes{% else %}No{% endif %}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Design Elements / Groups</th>
|
|
|
|
<td>{{ lense.designElements }} / {{ lense.designGroups }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Aperture Blades</th>
|
|
|
|
<td>{{ lense.apertureBlades }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2017-11-09 11:53:01 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|