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

82 lines
1.8 KiB
Twig

{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Previously Owned Flash - Show
{% endblock %}
{% block form %}
<h2>Previously Owned Flash</h2>
<div class="callout">
<ul>
<li>
<a href="{{ path('previously-owned-flash_index') }}">Back to the list</a>
</li>
<li>
<a href="{{ path('previously-owned-flash_edit', { 'id': previouslyOwnedFlash.id }) }}">Edit</a>
</li>
</ul>
</div>
<div class="large primary callout">
<table>
<tbody>
<tr>
<th>Id</th>
<td>{{ previouslyOwnedFlash.id }}</td>
</tr>
<tr>
<th>Brand</th>
<td>{{ previouslyOwnedFlash.brand }}</td>
</tr>
<tr>
<th>Model</th>
<td>{{ previouslyOwnedFlash.model }}</td>
</tr>
<tr>
<th>Is Auto Flash?</th>
<td>{% if previouslyOwnedFlash.isAutoFlash %}Yes{% else %}No{% endif %}</td>
</tr>
<tr>
<th>Is TTL?</th>
<td>{% if previouslyOwnedFlash.isTtl %}Yes{% else %}No{% endif %}</td>
</tr>
<tr>
<th>TTL Type?</th>
<td>{{ previouslyOwnedFlash.ttlType }}</td>
</tr>
<tr>
<th>Is P-TTL?</th>
<td>{% if previouslyOwnedFlash.isPTtl %}Yes{% else %}No{% endif %}</td>
</tr>
<tr>
<th>P-TTL Type</th>
<td>{{ previouslyOwnedFlash.pTtlType }}</td>
</tr>
<tr>
<th>Guide Number</th>
<td>{{ previouslyOwnedFlash.guideNumber }}</td>
</tr>
<tr>
<th>Purchase Price</th>
<td>{{ previouslyOwnedFlash.purchasePrice }}</td>
</tr>
<tr>
<th>Batteries</th>
<td>{{ previouslyOwnedFlash.batteries }}</td>
</tr>
<tr>
<th>Notes</th>
<td>{{ previouslyOwnedFlash.notes }}</td>
</tr>
<tr>
<th>Serial</th>
<td>{{ previouslyOwnedFlash.serial }}</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}