collection-crud/templates/film/show.html.twig

90 lines
1.6 KiB
Twig
Raw Normal View History

2018-02-15 09:48:57 -05:00
{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Film - Show
{% endblock %}
2018-02-15 09:48:57 -05:00
{% block form %}
<h2>Film</h2>
<div class="callout">
<ul>
<li>
<a href="{{ path('film_index') }}">Back to the list</a>
</li>
<li>
<a href="{{ path('film_edit', { 'id': film.id }) }}">Edit</a>
</li>
</ul>
<hr />
{{ form_start(delete_form) }}
2018-07-16 14:03:02 -04:00
<button type="submit" class="alert button expanded">Delete Film</button>
2018-02-15 09:48:57 -05:00
{{ form_end(delete_form) }}
</div>
<div class="large primary callout">
<table>
<tbody>
<tr>
<th>Id</th>
<td>{{ film.id }}</td>
</tr>
<tr>
<th>Brand</th>
<td>{{ film.brand }}</td>
</tr>
<tr>
<th>Product Line</th>
<td>{{ film.productLine }}</td>
</tr>
<tr>
<th>Film Name</th>
<td>{{ film.filmName }}</td>
</tr>
2018-02-19 10:48:42 -05:00
<tr>
<th>Film Alias</th>
<td>{{ film.filmAlias }}</td>
</tr>
2018-02-15 09:48:57 -05:00
<tr>
<th>Film Speed</th>
<td>{{ film.filmSpeedAsa }}/{{ film.filmSpeedDin }}&deg;</td>
</tr>
<tr>
<th>Film Format</th>
<td>{{ film.filmFormat }}</td>
</tr>
<tr>
<th>Film Base</th>
<td>{{ film.filmBase }}</td>
</tr>
<tr>
<th># of Unused Rolls</th>
<td>{{ film.unusedRolls }}</td>
</tr>
<tr>
<th># of Rolls in a Camera</th>
<td>{{ film.rollsInCamera }}</td>
</tr>
2018-02-15 09:48:57 -05:00
<tr>
<th># of Developed Rolls</th>
<td>{{ film.developedRolls }}</td>
</tr>
<tr>
<th>Chemistry</th>
<td>{{ film.chemistry }}</td>
</tr>
<tr>
<th>Notes</th>
<td>{{ film.notes }}</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}