{% extends "base.html" %}
{% block content %}
<h1>Añade repostaje</h1>
<form method="POST">
    {{ form.hidden_tag() }}
    <div class="form-group">
        {{ form.fecha.label }} {{ form.fecha(class_="form-control") }}
    </div>

    <div class="form-group">
        {{ form.vehiculo.label }} {{ form.vehiculo(class_="form-control") }}
    </div>
    
    <div class="form-group">
        {{ form.kms.label }} {{ form.kms(class_="form-control") }}
    </div>
    
    <div class="form-group">
        {{ form.litros.label }} {{ form.litros(class_="form-control") }}
    </div>    
    
    <div class="form-group">
        {{ form.descuento.label }} {{ form.descuento(class_="form-control") }}
    </div>    

    <div class="form-group">
        {{ form.importe.label }} {{ form.importe(class_="form-control") }}
    </div>
    {{ form.submit(class_="btn btn-primary") }}
</form>
{% endblock %}
