diff --git a/sapl/crispy_layout_mixin.py b/sapl/crispy_layout_mixin.py index e0704d3f3..29cd7849f 100644 --- a/sapl/crispy_layout_mixin.py +++ b/sapl/crispy_layout_mixin.py @@ -67,7 +67,7 @@ def get_field_display(obj, fieldname): ou mesmo uma método no model. """ value = getattr(obj, fieldname) - verbose_name = value.model._meta.verbose_name + verbose_name = '' else: verbose_name = str(field.verbose_name)\