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

90 lines
1.6 KiB
Twig

{% extends 'form.html.twig' %}
{% block title %}
Camera 📷 CRUD - Film - Show
{% endblock %}
{% 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) }}
<button type="submit" class="alert button expanded">Delete Film</button>
{{ 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>
<tr>
<th>Film Alias</th>
<td>{{ film.filmAlias }}</td>
</tr>
<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>
<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 %}