Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove formset part from shipping/form.html
michal7afb3d6a58af
diff --git a/templates/dashboard/shipping/form.html b/templates/dashboard/shipping/form.htmlindex de3cbf3c15..b7da12241b 100644--- a/templates/dashboard/shipping/form.html+++ b/templates/dashboard/shipping/form.html@@ -72,46 +72,6 @@{{ form|materializecss }}</div></div>- <div class="formset-table-container">- <table class="formset-table">- <thead>- <tr>- <th>- {% trans "Country" context "Shipping method country list" %}- </th>- <th>- {% trans "Price" context "Shipping method country list" %}- </th>- <th>- {% trans "Remove" context "Dashboard delete action" %}- </th>- </tr>- </thead>- <tbody>- {% for form in price_per_country_formset %}- <tr>- <td>- {% for hidden in form.hidden_fields %}- {{ hidden }}- {% endfor %}- {{ form.country_code|materializecss:"input-field s12" }}- {% if form.non_field_errors %}- {% for error in form.non_field_errors %}- <p class="help-block materialize-red-text">{{ error }}</p>- {% endfor %}- {% endif %}- </td>- <td>- {{ form.price|materializecss }}- </td>- <td>- {{ form.DELETE|materializecss }}- </td>- </tr>- {% endfor %}- </tbody>- </table>- </div><div class="card-action right-align">{% if shipping_method.pk %}<a href="{% url 'dashboard:shipping-method-detail' shipping_method.pk %}" class="btn btn-flat">