--- a/src/pyams_default_theme/component/paragraph/zmi/map.py Thu Sep 13 17:20:12 2018 +0200
+++ b/src/pyams_default_theme/component/paragraph/zmi/map.py Fri Sep 14 14:35:26 2018 +0200
@@ -56,12 +56,12 @@
AdminDialogEditForm.updateActions(self.view)
def updateGroups(self):
- view = self.view
- view.add_group(NamedWidgetsGroup(view, 'configuration', view.widgets,
- view.fields.keys(),
+ form = self.view
+ form.add_group(NamedWidgetsGroup(form, 'configuration', form.widgets,
+ form.fields.keys(),
legend=_("Don't use default map configuration"),
css_class='inner',
switch=True,
checkbox_switch=True,
checkbox_field=IMapParagraphDefaultRendererSettings['no_use_default_map_configuration']))
- AdminDialogEditForm.updateGroups(view)
+ AdminDialogEditForm.updateGroups(form)