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

64 lines
1.8 KiB
Twig
Raw Permalink Normal View History

2017-11-15 11:34:48 -05:00
{% extends 'base.html.twig' %}
{% block title %}
Camera 📷 CRUD - Previously Owned Flashes
{% endblock %}
2017-11-15 11:34:48 -05:00
{% block body %}
2018-02-14 15:08:03 -05:00
<h2>Previously Owned Flashes</h2>
2017-11-15 11:34:48 -05:00
2018-07-18 11:35:27 -04:00
<div class="small secondary callout">
<table class="hover scroll sortable stack">
<thead>
<tr>
<th>Actions</th>
<th>Brand</th>
<th>Model</th>
<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>
<th>Batteries</th>
<th>Serial</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
{% for previouslyOwnedFlash in previouslyOwnedFlashes %}
<tr>
<td>
<ul>
<li>
<a href="{{ path('previously-owned-flash_edit', { 'id': previouslyOwnedFlash.id }) }}">
Edit
<span class="edit-icon">&#9998;</span>
</a>
</li>
<li>
<a
href="{{ path('previously-owned-flash_show', { 'id': previouslyOwnedFlash.id }) }}">View 👁</a>
</li>
</ul>
</td>
<td>{{ previouslyOwnedFlash.brand }}</td>
<td>{{ previouslyOwnedFlash.model }}</td>
<td>{% if previouslyOwnedFlash.isAutoFlash %}{% else %}&#10007;{% endif %}</td>
<td>{% if previouslyOwnedFlash.isTtl %}{% else %}&#10007;{% endif %}</td>
<td>{{ previouslyOwnedFlash.ttlType }}</td>
<td>{% if previouslyOwnedFlash.isPTtl %}{% else %}&#10007;{% endif %}</td>
<td>{{ previouslyOwnedFlash.pTtlType }}</td>
<td>{{ previouslyOwnedFlash.guideNumber }}</td>
<td>${{ previouslyOwnedFlash.purchasePrice }}</td>
<td>{{ previouslyOwnedFlash.batteries }}</td>
<td>{{ previouslyOwnedFlash.serial }}</td>
<td>{{ previouslyOwnedFlash.notes }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
2017-11-15 11:34:48 -05:00
{% endblock %}