Fix issue with missing information on pitstop delete page

This commit is contained in:
Joachim Lusiardi 2016-07-21 19:11:32 +02:00
parent fd685c316d
commit a4ecae4700
1 changed files with 9 additions and 2 deletions

View File

@ -17,11 +17,18 @@
</tr> </tr>
<tr> <tr>
<th style='text-align:right'>Litres</th> <th style='text-align:right'>Litres</th>
<td style='text-align: left'>{{ pitstop.litres }} l</td> <td style='text-align: left'>{{ pitstop.amount }} {{ pitstop.consumable.unit }}</td>
</tr> </tr>
<tr> <tr>
<th style='text-align:right'>Costs (overall)</th> <th style='text-align:right'>Costs (overall)</th>
<td style='text-align: left'>{{ pitstop.costs }} €</td> <td style='text-align: left'>
{% if pitstop.costs %}
{{pitstop.costs}}
{% else %}
--
{% endif %}
</td>
</tr> </tr>
</table> </table>
<form class='form-horizontal' method='POST'> <form class='form-horizontal' method='POST'>