Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Red non_field_errors in modals
Anna Siwik8f2523d1d991
diff --git a/templates/dashboard/base_modal.html b/templates/dashboard/base_modal.htmlindex ce47f3b179..8b015bdb2b 100644--- a/templates/dashboard/base_modal.html+++ b/templates/dashboard/base_modal.html@@ -14,13 +14,9 @@</div></div>{% if form.non_field_errors %}- <div class="row">- {% for non_field_error in form.non_field_errors %}- <div class="col s12">- <blockquote>- {{ non_field_error }}- </blockquote>- </div>+ <div class="col 12">+ {% for error in form.non_field_errors %}+ <p class="help-block materialize-red-text">{{ error }}</p>{% endfor %}</div>{% endif %}