2017-11-09 11:53:01 -05:00
|
|
|
{% extends 'form.html.twig' %}
|
|
|
|
|
|
|
|
{% block form %}
|
2018-02-14 15:08:03 -05:00
|
|
|
<h2>Flash</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('flash_index') }}">Back to the list</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('flash_edit', { 'id': flash.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) }}
|
|
|
|
<button type="submit" class="alert button">Delete Flash</button>
|
|
|
|
{{ 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>{{ 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>
|
2017-11-09 11:53:01 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|