84 lines
1.6 KiB
Twig
84 lines
1.6 KiB
Twig
{% extends 'form.html.twig' %}
|
|
|
|
{% block form %}
|
|
<h2>Flash</h2>
|
|
|
|
<div class="callout">
|
|
<ul>
|
|
<li>
|
|
<a href="{{ path('flash_index') }}">Back to the list</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ path('flash_edit', { 'id': flash.id }) }}">Edit</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<hr />
|
|
|
|
|
|
{{ form_start(delete_form) }}
|
|
<button type="submit" class="alert button">Delete Flash</button>
|
|
{{ form_end(delete_form) }}
|
|
</div>
|
|
|
|
<div class="large primary callout">
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<th>Id</th>
|
|
<td>{{ flash.id }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Brand</th>
|
|
<td>{{ flash.brand }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Model</th>
|
|
<td>{{ flash.model }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Is Auto Flash?</th>
|
|
<td>{% if flash.isAutoFlash %}Yes{% else %}No{% endif %}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Is TTL?</th>
|
|
<td>{% if flash.isTtl %}Yes{% else %}No{% endif %}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>TTL Type</th>
|
|
<td>{{ flash.ttlType }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Is P-TTL?</th>
|
|
<td>{% if flash.isPTtl %}Yes{% else %}No{% endif %}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>P-TTL Type</th>
|
|
<td>{{ flash.pTtlType }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Guide Number</th>
|
|
<td>{{ flash.guideNumber }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Purchase Price</th>
|
|
<td>{{ flash.purchasePrice }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Batteries</th>
|
|
<td>{{ flash.batteries }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Notes</th>
|
|
<td>{{ flash.notes }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Serial</th>
|
|
<td>{{ flash.serial }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
{% endblock %}
|