From 364f5599e637cac1160c627303adfae51b556399 Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 26 Dec 2019 14:08:53 +0530 Subject: [PATCH] Correct the way we show vat error --- hosting/templates/hosting/includes/_messages.html | 2 +- hosting/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosting/templates/hosting/includes/_messages.html b/hosting/templates/hosting/includes/_messages.html index b261a512..12540558 100644 --- a/hosting/templates/hosting/includes/_messages.html +++ b/hosting/templates/hosting/includes/_messages.html @@ -1,7 +1,7 @@ {% if messages %} {% endif %} \ No newline at end of file diff --git a/hosting/views.py b/hosting/views.py index aeca6ada..17c3fb5e 100644 --- a/hosting/views.py +++ b/hosting/views.py @@ -644,7 +644,7 @@ class SettingsView(LoginRequiredMixin, FormView): messages.add_message( request, messages.ERROR, "VAT Number validation error: %s" % validate_result["error"], - extra_tags='vat_error' + extra_tags='error' ) else: msg = _("Billing address updated successfully")