diff --git a/nummi/main/templates/main/form/invoice.html b/nummi/main/templates/main/form/invoice.html index a0fb629..26c9dd1 100644 --- a/nummi/main/templates/main/form/invoice.html +++ b/nummi/main/templates/main/form/invoice.html @@ -13,11 +13,16 @@ type="text/css" /> {% endblock %} {% block body %} -

{{ form.instance }}

- {% spaceless %} -
- {% csrf_token %} - {{ form }} -
- {% endspaceless %} + {% with invoice=form.instance %} +

{{ invoice }}

+

+ {{ invoice.transaction }} +

+ {% spaceless %} +
+ {% csrf_token %} + {{ form }} +
+ {% endspaceless %} + {% endwith %} {% endblock %}