mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-25 04:50:00 -06:00
* WIP * Misc cleanup * Add warning re: nested quick-adds
This commit is contained in:
@@ -62,12 +62,14 @@ class ClusterGroupForm(NetBoxModelForm):
|
||||
class ClusterForm(TenancyForm, ScopedForm, NetBoxModelForm):
|
||||
type = DynamicModelChoiceField(
|
||||
label=_('Type'),
|
||||
queryset=ClusterType.objects.all()
|
||||
queryset=ClusterType.objects.all(),
|
||||
quick_add=True
|
||||
)
|
||||
group = DynamicModelChoiceField(
|
||||
label=_('Group'),
|
||||
queryset=ClusterGroup.objects.all(),
|
||||
required=False
|
||||
required=False,
|
||||
quick_add=True
|
||||
)
|
||||
comments = CommentField()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user