Skip to content

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

Fix shipping form template

Patryk Zawadzkic6e4e0f74f85
diff --git a/templates/dashboard/shipping/method_form.html b/templates/dashboard/shipping/method_form.html
index 5d65c6bea5..49648e0c1d 100644
--- a/templates/dashboard/shipping/method_form.html
+++ b/templates/dashboard/shipping/method_form.html
@@ -70,6 +70,11 @@
{{ 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 }}
@@ -77,12 +82,7 @@
<td>
{{ form.DELETE|materializecss }}
</td>
- </trv>
- {% if form.non_field_errors %}
- {% for error in form.non_field_errors %}
- <p class="help-block materialize-red-text">{{ error }}</p>
- {% endfor %}
- {% endif %}
+ </tr>
{% endfor %}
</tbody>
</table>