diff --git a/sapl/base/views.py b/sapl/base/views.py index 7113d0052..51ac52326 100644 --- a/sapl/base/views.py +++ b/sapl/base/views.py @@ -2027,6 +2027,19 @@ class AppConfigCrud(CrudAux): self.gerar_hash(prop) return super().form_valid(form) + def form_invalid(self, form): + errors_tuple = [(form[e].label, form.errors[e]) + for e in form.errors if e in form.fields] + error_message = '