{% extends "bids/base.html" %}{% block title %}Bid entry{% endblock %} {% block content %}

{% if bid %}Edit bid - {{ bid.supplier }}{% else %}Enter bid{% endif %}

{% csrf_token %}{{ form.non_field_errors }}
{% for f in form.header_fields %}{{ f.as_field_group }}{% endfor %}

Line prices (bid currency, per unit)

{% for item, p, b in form.item_fields %}{% endfor %}
ItemUnit priceQuantity breaks (qty:price, ...)
{{ item.line_no }}. {{ item.description }} x {{ item.quantity|floatformat:"-2g" }}{{ p }}{{ p.errors }}{{ b }}{{ b.errors }}
{% endblock %}