mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-11 03:37:06 +02:00
Closes #11325: Move help_texts from model forms to models
This commit is contained in:
@@ -65,9 +65,6 @@ class RIRImportForm(NetBoxModelImportForm):
|
||||
class Meta:
|
||||
model = RIR
|
||||
fields = ('name', 'slug', 'is_private', 'description', 'tags')
|
||||
help_texts = {
|
||||
'name': _('RIR name'),
|
||||
}
|
||||
|
||||
|
||||
class AggregateImportForm(NetBoxModelImportForm):
|
||||
@@ -410,10 +407,6 @@ class VLANImportForm(NetBoxModelImportForm):
|
||||
class Meta:
|
||||
model = VLAN
|
||||
fields = ('site', 'group', 'vid', 'name', 'tenant', 'status', 'role', 'description', 'comments', 'tags')
|
||||
help_texts = {
|
||||
'vid': 'Numeric VLAN ID (1-4094)',
|
||||
'name': 'VLAN name',
|
||||
}
|
||||
|
||||
|
||||
class ServiceTemplateImportForm(NetBoxModelImportForm):
|
||||
|
||||
Reference in New Issue
Block a user