59 lines
1.2 KiB
Twig
59 lines
1.2 KiB
Twig
|
{% extends 'base.html.twig' %}
|
||
|
|
||
|
{% block body %}
|
||
|
<h2>Film</h2>
|
||
|
|
||
|
<div class="small callout primary">
|
||
|
<ul>
|
||
|
<li>
|
||
|
<a href="{{ path('film_new') }}">Add a Film</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<table class="hover scroll stack">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Actions</th>
|
||
|
<th>Id</th>
|
||
|
<th>Brand</th>
|
||
|
<th>Product Line</th>
|
||
|
<th>Film Name</th>
|
||
|
<th>Film Speed</th>
|
||
|
<th>Film Format</th>
|
||
|
<th>Film Base</th>
|
||
|
<th>Unused Rolls</th>
|
||
|
<th>Developed Rolls</th>
|
||
|
<th>Chemistry</th>
|
||
|
<th>Notes</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for film in films %}
|
||
|
<tr>
|
||
|
<td>
|
||
|
<ul>
|
||
|
<li>
|
||
|
<a href="{{ path('film_edit', { 'id': film.id }) }}">edit</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</td>
|
||
|
<td><a href="{{ path('film_show', { 'id': film.id }) }}">{{ film.id }}</a></td>
|
||
|
<td>{{ film.brand }}</td>
|
||
|
<td>{{ film.productLine }}</td>
|
||
|
<td>{{ film.filmName }}</td>
|
||
|
<td>{{ film.filmSpeedAsa }}/{{ film.filmSpeedDin }}°</td>
|
||
|
<td>{{ film.filmFormat }}</td>
|
||
|
<td>{{ film.filmBase }}</td>
|
||
|
<td>{{ film.unusedRolls }}</td>
|
||
|
<td>{{ film.developedRolls }}</td>
|
||
|
<td>{{ film.chemistry }}</td>
|
||
|
<td>{{ film.notes }}</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
|
||
|
{% endblock %}
|