mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-29 11:56:25 -06:00
Undo unrelated work
This commit is contained in:
parent
62315161af
commit
e763207181
@ -913,13 +913,6 @@ class ModularComponentTemplateForm(ComponentTemplateForm):
|
||||
if self.instance.pk:
|
||||
self.fields['module_type'].disabled = True
|
||||
|
||||
# Reset help_text to the value from the model field, if it has been overwritten with ExpandableNameField
|
||||
for field in self.fields:
|
||||
model_help_text = getattr(self._meta.model, field).field.help_text
|
||||
if self.fields[field].help_text and model_help_text:
|
||||
self.fields[field].help_text += ' '
|
||||
self.fields[field].help_text += model_help_text
|
||||
|
||||
|
||||
class ConsolePortTemplateForm(ModularComponentTemplateForm):
|
||||
fieldsets = (
|
||||
|
Loading…
Reference in New Issue
Block a user