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) }}
|
|
|
|
<button type="submit" class="alert button">Delete Camera</button>
|
|
|
|
{{ 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>
|
|
|
|
<td>{% if camera.isDigital %}Yes{% else %}No{% endif %}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Crop Factor</th>
|
|
|
|
<td>{{ camera.cropFactor }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Is Working?</th>
|
|
|
|
<td>{% if camera.isWorking %}Yes{% else %}No{% endif %}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Notes</th>
|
|
|
|
<td>{{ camera.notes }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Serial</th>
|
|
|
|
<td>{{ camera.serial }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Formerly Owned?</th>
|
|
|
|
<td>{% if camera.formerlyOwned %}Yes{% else %}No{% endif %}</td>
|
|
|
|
</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 %}
|