Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add missing template

Marcin Gębala2c75052e3565
diff --git a/saleor/dashboard/templates/dashboard/includes/modal_ship_delivery_group.html b/saleor/dashboard/templates/dashboard/includes/modal_ship_delivery_group.html
new file mode 100644
index 0000000000..52e750b8ff
--- /dev/null
+++ b/saleor/dashboard/templates/dashboard/includes/modal_ship_delivery_group.html
@@ -0,0 +1,19 @@
+{% load i18n %}
+{% load bootstrap %}
+
+<div class="modal-header">
+ <a href="#" data-dismiss="modal" aria-hidden="true" class="close">×</a>
+ <h3>{% trans "Ship delivery group " %}#{{ group.pk }}</h3>
+</div>
+<div class="modal-body">
+ <span>{% trans "Ship selected delivery group to the following address:" %}</span>
+ {% include 'dashboard/includes/_address.html' with address=group.address only %}
+</div>
+<div class="modal-footer">
+ <form id="ship-delivery-group-form" class="form-inline" method="post" role="form">
+ {% csrf_token %}
+ <input type="hidden" name="shipping_action" value="{{ group.pk }}"/>
+ <button type="submit" class="btn btn-success">{% trans "Ship" %}</button>
+ <button data-dismiss="modal" aria-hidden="true" class="btn btn-default">{% trans "Cancel" %}</button>
+ </form>
+</div>
\ No newline at end of file