2017-11-09 11:53:01 -05:00
|
|
|
{% extends 'form.html.twig' %}
|
|
|
|
|
2018-02-26 15:25:15 -05:00
|
|
|
{% block title %}
|
|
|
|
Camera 📷 CRUD - Camera - Show
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-11-09 11:53:01 -05:00
|
|
|
{% block form %}
|
2018-02-14 15:08:03 -05:00
|
|
|
<h2>Camera</h2>
|
2017-11-09 11:53:01 -05:00
|
|
|
|
2017-11-10 15:50:05 -05:00
|
|
|
<div class="callout">
|
2018-02-14 15:08:03 -05:00
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('camera_index') }}">Back to the list</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('camera_edit', { 'id': camera.id }) }}">Edit</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2017-11-09 11:53:01 -05:00
|
|
|
|
|
|
|
|
2017-11-10 15:50:05 -05:00
|
|
|
<hr />
|
|
|
|
|
|
|
|
|
2018-02-14 15:08:03 -05:00
|
|
|
{{ form_start(delete_form) }}
|
2018-07-16 14:03:02 -04:00
|
|
|
<button type="submit" class="alert button expanded">Delete Camera</button>
|
2018-02-14 15:08:03 -05:00
|
|
|
{{ form_end(delete_form) }}
|
2017-11-10 15:50:05 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="large primary callout">
|
2018-02-14 15:08:03 -05:00
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Id</th>
|
|
|
|
<td>{{ camera.id }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Brand</th>
|
|
|
|
<td>{{ camera.brand }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Mount</th>
|
|
|
|
<td>{{ camera.mount }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Model</th>
|
|
|
|
<td>{{ camera.model }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Is Digital?</th>
|
2019-07-23 10:31:06 -04:00
|
|
|
<td>
|
|
|
|
{% if camera.isDigital %}
|
|
|
|
<span class='small callout success'>Yes</span>
|
|
|
|
{% else %}
|
|
|
|
<span class='small callout alert'>No</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
2018-02-14 15:08:03 -05:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Crop Factor</th>
|
|
|
|
<td>{{ camera.cropFactor }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Is Working?</th>
|
2019-07-23 10:31:06 -04:00
|
|
|
<td>
|
|
|
|
{% if camera.isWorking %}
|
|
|
|
<span class='small callout success'>Yes</span>
|
|
|
|
{% else %}
|
|
|
|
<span class='small callout alert'>No</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
2018-02-14 15:08:03 -05:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Notes</th>
|
|
|
|
<td>{{ camera.notes }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Serial</th>
|
|
|
|
<td>{{ camera.serial }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Formerly Owned?</th>
|
2019-07-23 10:31:06 -04:00
|
|
|
<td>
|
|
|
|
{% if camera.formerlyOwned %}
|
|
|
|
<span class='small callout success'>Yes</span>
|
|
|
|
{% else %}
|
|
|
|
<span class='small callout alert'>No</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
2018-02-14 15:08:03 -05:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Purchase Price</th>
|
|
|
|
<td>{{ camera.purchasePrice }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Battery Type</th>
|
|
|
|
<td>{{ camera.batteryType }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Film Format</th>
|
|
|
|
<td>{{ camera.filmFormat }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Received</th>
|
|
|
|
<td>{% if camera.received %}Yes{% else %}No{% endif %}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2017-11-09 11:53:01 -05:00
|
|
|
</div>
|
|
|
|
|
2017-11-10 15:50:05 -05:00
|
|
|
|
2017-11-09 11:53:01 -05:00
|
|
|
{% endblock %}
|