From bc17536e6da9245795b2b82b469c3b9d9a0a1c37 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Feb 2022 03:49:52 +0100 Subject: [PATCH] fix quotes --- InvenTree/order/templates/order/order_wizard/po_upload.html | 2 +- InvenTree/templates/patterns/wizard/match_fields.html | 4 ++-- InvenTree/templates/patterns/wizard/upload.html | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/InvenTree/order/templates/order/order_wizard/po_upload.html b/InvenTree/order/templates/order/order_wizard/po_upload.html index 3b20f356f3..b101cfc8b5 100644 --- a/InvenTree/order/templates/order/order_wizard/po_upload.html +++ b/InvenTree/order/templates/order/order_wizard/po_upload.html @@ -13,7 +13,7 @@ {% trans "Upload File for Purchase Order" as header_text %} {% order.status == PurchaseOrderStatus.PENDING and roles.purchase_order.change as upload_go_ahead %} {% trans "Order is already processed. Files cannot be uploaded." as error_text %} - {% 'panel-upload-file' as panel_id %} + {% "panel-upload-file" as panel_id %} {% include "patterns/wizard/upload.html" with header_text=header_text upload_go_ahead=upload_go_ahead error_text=error_text panel_id=panel_id %} {% endblock %} diff --git a/InvenTree/templates/patterns/wizard/match_fields.html b/InvenTree/templates/patterns/wizard/match_fields.html index bb119d39a5..a28708ce0b 100644 --- a/InvenTree/templates/patterns/wizard/match_fields.html +++ b/InvenTree/templates/patterns/wizard/match_fields.html @@ -23,9 +23,9 @@ {% block form_buttons_top %} {% if wizard.steps.prev %} - + {% endif %} - + {% endblock form_buttons_top %} {% block form_content %} diff --git a/InvenTree/templates/patterns/wizard/upload.html b/InvenTree/templates/patterns/wizard/upload.html index 1688e538bf..11ab48eced 100644 --- a/InvenTree/templates/patterns/wizard/upload.html +++ b/InvenTree/templates/patterns/wizard/upload.html @@ -14,7 +14,7 @@ {% block form_alert %} {% endblock form_alert %} -
+ {% csrf_token %} {% load crispy_forms_tags %} @@ -30,9 +30,9 @@ {% block form_buttons_bottom %} {% if wizard.steps.prev %} - + {% endif %} - +
{% endblock form_buttons_bottom %}