From 0340a5e8d62efe77b1593c1e5100962953f5b1c6 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 1 Dec 2023 10:24:12 -0500 Subject: [PATCH] #13299: Clean up custom field form field help text --- netbox/extras/models/customfields.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/netbox/extras/models/customfields.py b/netbox/extras/models/customfields.py index 08190d20fb..189e3460b2 100644 --- a/netbox/extras/models/customfields.py +++ b/netbox/extras/models/customfields.py @@ -519,8 +519,6 @@ def to_form_field(self, set_initial=True, enforce_required=True, enforce_visibil # Annotate read-only fields if enforce_visibility and self.ui_editable != CustomFieldUIEditableChoices.YES: field.disabled = True - prepend = '
' if field.help_text else '' - field.help_text += f'{prepend} ' + _('Field is not editable.') return field