mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Refactor form rendering components & add docstrings
This commit is contained in:
@ -7,7 +7,7 @@ from ipam.models import ASN
|
||||
from netbox.forms import NetBoxModelForm
|
||||
from tenancy.forms import TenancyForm
|
||||
from utilities.forms.fields import CommentField, DynamicModelChoiceField, DynamicModelMultipleChoiceField, SlugField
|
||||
from utilities.forms.rendering import TabbedFieldGroups
|
||||
from utilities.forms.rendering import TabbedGroups
|
||||
from utilities.forms.widgets import DatePicker, NumberWithOptions
|
||||
|
||||
__all__ = (
|
||||
@ -153,7 +153,7 @@ class CircuitTerminationForm(NetBoxModelForm):
|
||||
'term_side',
|
||||
'description',
|
||||
'tags',
|
||||
TabbedFieldGroups(
|
||||
TabbedGroups(
|
||||
(_('Site'), 'site'),
|
||||
(_('Provider Network'), 'provider_network'),
|
||||
),
|
||||
|
Reference in New Issue
Block a user