diff --git a/sapl/base/views.py b/sapl/base/views.py index df5a1c0f7..6004bb09f 100644 --- a/sapl/base/views.py +++ b/sapl/base/views.py @@ -1958,6 +1958,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 = '