Remove obsolete ComponentForm

This commit is contained in:
Jeremy Stretch
2020-02-06 11:36:25 -05:00
parent a648a3e91e
commit d087c0e13b
4 changed files with 26 additions and 35 deletions

View File

@@ -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():