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

53 lines
2.0 KiB
Twig
Raw Normal View History

2017-11-15 11:34:48 -05:00
{% extends 'base.html.twig' %}
{% block body %}
<h2>Previously Owned Flashes</h2>
2017-11-17 15:55:30 -05:00
<table class="hover scroll stack">
2017-11-15 11:34:48 -05:00
<thead>
<tr>
<th>Actions</th>
<th>Id</th>
<th>Brand</th>
<th>Model</th>
2017-11-22 13:49:31 -05:00
<th>Is Auto Flash?</th>
<th>Is TTL</th>
<th>TTL Type</th>
<th>Is P-TTL</th>
<th>P-TTL Type</th>
<th>Guide Number</th>
<th>Purchase Price</th>
2017-11-15 11:34:48 -05:00
<th>Batteries</th>
<th>Notes</th>
<th>Serial</th>
</tr>
</thead>
<tbody>
{% for previouslyOwnedFlash in previouslyOwnedFlashes %}
<tr>
<td>
<ul>
<li>
<a href="{{ path('previously-owned-flash_edit', { 'id': previouslyOwnedFlash.id }) }}">edit</a>
</li>
</ul>
</td>
<td><a href="{{ path('previously-owned-flash_show', { 'id': previouslyOwnedFlash.id }) }}">{{ previouslyOwnedFlash.id }}</a></td>
<td>{{ previouslyOwnedFlash.brand }}</td>
<td>{{ previouslyOwnedFlash.model }}</td>
<td>{% if previouslyOwnedFlash.isAutoFlash %}Yes{% else %}No{% endif %}</td>
<td>{% if previouslyOwnedFlash.isTtl %}Yes{% else %}No{% endif %}</td>
<td>{{ previouslyOwnedFlash.ttlType }}</td>
<td>{% if previouslyOwnedFlash.isPTtl %}Yes{% else %}No{% endif %}</td>
<td>{{ previouslyOwnedFlash.pTtlType }}</td>
<td>{{ previouslyOwnedFlash.guideNumber }}</td>
2017-11-22 13:49:31 -05:00
<td>${{ previouslyOwnedFlash.purchasePrice }}</td>
2017-11-15 11:34:48 -05:00
<td>{{ previouslyOwnedFlash.batteries }}</td>
<td>{{ previouslyOwnedFlash.notes }}</td>
<td>{{ previouslyOwnedFlash.serial }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}