mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Remove obsolete ComponentForm
This commit is contained in:
@@ -854,7 +854,8 @@ class ComponentCreateView(GetReturnURLMixin, View):
|
||||
|
||||
# Initialize the individual component form
|
||||
data['name'] = name
|
||||
data.update(form.get_iterative_data(i))
|
||||
if hasattr(form, 'get_iterative_data'):
|
||||
data.update(form.get_iterative_data(i))
|
||||
component_form = self.model_form(data)
|
||||
|
||||
if component_form.is_valid():
|
||||
|
Reference in New Issue
Block a user