rollerverbrauch/app/templates/deleteServiceForm.html

43 lines
1.6 KiB
HTML
Raw Normal View History

2016-11-01 11:18:40 +01:00
{% extends 'layout.html' %}
{% block body %}
<div class='col-md-2' ></div>
<div class='col-md-8'>
<div class='panel panel-default'>
<div class='panel-body'>
<h3>Delete service?</h3>
2016-11-06 13:22:54 +01:00
<table style='width: 100%' class="table table-striped table-bordered table-condensed">
2016-11-01 11:18:40 +01:00
<tr>
<th style='text-align:right'>Date of Pitstop</th>
<td style='text-align: left'>{{ service.date }}</td>
</tr>
<tr>
<th style='text-align:right'>Odometer</th>
<td style='text-align: left'>{{ service.odometer }} km</td>
</tr>
<tr>
<th style='text-align:right'>Description</th>
2016-11-06 13:22:54 +01:00
<td style='text-align: left' class="markdown">{{ service.description | markdown | safe}}</td>
2016-11-01 11:18:40 +01:00
</tr>
<tr>
<th style='text-align:right'>Costs (overall)</th>
<td style='text-align: left'>
{% if service.costs %}
{{service.costs}}
{% else %}
--
{% endif %}
</td>
</tr>
</table>
<form class='form-horizontal' method='POST'>
{{ form.hidden_tag() }}
{{ render_field_with_errors(form.submit) }}
</form>
</div>
</div>
</div>
<div class='col-md-2' ></div>
{% endblock %}