Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Show initial form errors
Adam Bogdał83a62b345f7c
diff --git a/saleor/dashboard/templates/dashboard/includes/_formset_table.html b/saleor/dashboard/templates/dashboard/includes/_formset_table.htmlindex b59b11d9c8..457351b56d 100644--- a/saleor/dashboard/templates/dashboard/includes/_formset_table.html+++ b/saleor/dashboard/templates/dashboard/includes/_formset_table.html@@ -13,7 +13,16 @@{% endfor %}<tr>{% for field in form.visible_fields %}- <td>{{ field }}</td>+ <td>+ <div class="{% if field.errors %} has-error{% endif %}{% if field.required %} required{% endif %}">+ {{ field }}+ {% if field.errors %}+ {% for error in field.errors %}+ <span class="label label-danger">{{ error }}</span>+ {% endfor %}+ {% endif %}+ </div>+ </td>{% endfor %}</tr>{% endfor %}