rollerverbrauch/templates/newPitStopForm.html
joachim lusiardi af7ef156fd initial commit
2015-03-03 22:49:43 +01:00

19 lines
674 B
HTML

{% extends "layout.html" %}
{% block body %}
{% if data.error %}
<div>
<p class='error'><strong>Error:</strong> {{ data.error }}</p>
</div>
{% endif %}
<form action="{{ url_for('createPitStop') }}" method='post'>
<label for='date'>Date of Pitstop</label>
<input type='date' name='date' id='date' value='{{ data.last.date }}'/>
<br />
<label for='odometer'>Odometer</label>
<input type='text' name='odometer' id='odometer' value='{{ data.last.odometer }}'/>
<label for='litres'>Litres fuelled</label>
<input type='text' name='litres' id='litres' value='{{ data.last.litres }}'/>
<input type='submit' value='Log pit stop'>
</form>
{% endblock %}