aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/orders/remove_product.html
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/orders/remove_product.html')
-rwxr-xr-xservo/templates/orders/remove_product.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/servo/templates/orders/remove_product.html b/servo/templates/orders/remove_product.html
new file mode 100755
index 0000000..e6d2966
--- /dev/null
+++ b/servo/templates/orders/remove_product.html
@@ -0,0 +1,17 @@
+{% extends "modal.html" %}
+{% load i18n %}
+
+{% block header %}
+ {% trans "Really remove product from order?" %}
+{% endblock header %}
+
+{% block body %}
+ {% trans "Product will not be deleted from the warehouse." %}
+{% endblock body %}
+
+{% block footer %}
+<form action="{% url 'servo.views.order.remove_product' order.id item.id %}" method="post">
+ {% csrf_token %}
+ <button type="submit" class="btn btn-danger">{% trans "Delete" %}</button>
+</form>
+{% endblock footer %}