rollerverbrauch/app/templates/newPitStopForm.html

30 lines
1.1 KiB
HTML
Raw Normal View History

2015-03-06 21:58:53 +01:00
{% extends "layout.html" %}
{% block body %}
2016-05-22 11:47:46 +02:00
<div class="col-md-2" ></div>
<div class="col-md-8">
<div class="panel panel-default">
<div class="panel-body">
<h3>New Pitstop for '{{ vehicle.name }}'</h3>
<form class='form-horizontal' method="POST">
{{ form.hidden_tag() }}
{{ render_field_with_errors(form.date) }}
<span id="{{form.date.id}}_help" class="help-block">
{{messages['date']}}
</span>
{{ render_field_with_errors(form.odometer) }}
<span id="{{form.odometer.id}}_help" class="help-block">
{{messages['odometer']}}
</span>
{{ render_field_with_errors(form.litres) }}
{{ render_field_with_errors(form.costs) }}
<span id="{{form.costs.id}}_help" class="help-block">
{{messages['costs']}}
</span>
2016-05-22 11:47:46 +02:00
{{ render_field_with_errors(form.submit) }}
</form>
</div>
</div>
</div>
2016-04-17 12:50:31 +02:00
{% endblock %}