Skip to content

Commit 19c39e7

Browse files
authored
fix: add is_local to form plugins
1 parent e150375 commit 19c39e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

djangocms_form_builder/cms_plugins/form_plugins.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ class FormElementPlugin(CMSPluginBase):
1818
render_template = f"djangocms_form_builder/{settings.framework}/widgets/base.html"
1919
change_form_template = "djangocms_frontend/admin/base.html"
2020
settings_name = _("Settings")
21+
# Form elements are rendered by the surrounding FormPlugin, hence any change has to be
22+
# propageted up to the FormPlugin:
23+
is_local = False
2124

2225
fieldsets = (
2326
(

0 commit comments

Comments
 (0)