{% extends "accounting/layout.html" %} {% load static bootstrap3 introspection_filters %} {% block head %} {{ block.super }} {{ form.media }} {% endblock %} {% block content %}

Create an {{ form|get_form_model_verbose_name }}

{% csrf_token %} {% include "accounting/_partials/form_fields.html" with form=form %} {{ line_formset.management_form }} {{ line_formset.non_field_errors }} {% for line_form in line_formset %} {% endfor %}
# Label Description Unit (excl. tax) Qt. Tax rate Total
{{ forloop.counter }} {{ line_form.id }} {% bootstrap_field line_form.label show_label=False %} {% bootstrap_field line_form.description show_label=False %} {% bootstrap_field line_form.unit_price_excl_tax show_label=False %} {% bootstrap_field line_form.quantity show_label=False %} {% bootstrap_field line_form.tax_rate show_label=False %} {{ line_form.DELETE }}
{% buttons layout='vertical' %} {% endbuttons %}
{% endblock content %} {% block scripts %} {{ block.super }} {% endblock %}