aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates')
-rwxr-xr-xservo/templates/orders/toolbar.html2
-rw-r--r--servo/templates/repairs/import_repair.html13
2 files changed, 13 insertions, 2 deletions
diff --git a/servo/templates/orders/toolbar.html b/servo/templates/orders/toolbar.html
index 4bd9fef..6588a52 100755
--- a/servo/templates/orders/toolbar.html
+++ b/servo/templates/orders/toolbar.html
@@ -105,8 +105,6 @@
<li class="disabled"><a href="#">{% trans "Order Products" %}</a></li>
{% endif %}
<li class="divider"></li>
- <li><a href="{% url 'repairs-import_repair' order.pk %}" data-modal="#modal">{% trans "Import GSX Repair" %}</a></li>
- <li class="divider"></li>
{% if perms.servo.delete_order and order.is_editable %}
<li><a href="{% url 'orders-delete_order' order.pk %}" data-modal="#modal"><i class="icon-trash"> </i> {% trans "Delete Order" %}</a></li>
{% else %}
diff --git a/servo/templates/repairs/import_repair.html b/servo/templates/repairs/import_repair.html
new file mode 100644
index 0000000..571b19e
--- /dev/null
+++ b/servo/templates/repairs/import_repair.html
@@ -0,0 +1,13 @@
+{% extends "modal.html" %}
+{% load i18n %}
+
+{% block header %}
+ {% trans "Import GSX Repair" %}
+{% endblock header %}
+
+{% block body %}
+ <form method="post" action="{{ action }}">
+ {% csrf_token %}
+ {% include "form_snippet.html" %}
+ </form>
+{% endblock body %}