Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions djangocms_frontend/contrib/accordion/cms_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ class AccordionItemPlugin(mixin_factory("AccordionItem"), CMSUIPlugin):
model = models.AccordionItem
form = forms.AccordionItemForm
allow_children = True
show_plugin_add_form = False

parent_classes = [
"AccordionPlugin",
]
Expand Down
3 changes: 2 additions & 1 deletion djangocms_frontend/contrib/grid/cms_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class GridContainerPlugin(
form = forms.GridContainerForm
change_form_template = "djangocms_frontend/admin/grid_container.html"
allow_children = True
show_plugin_add_form = False

fieldsets = [
(
Expand Down Expand Up @@ -152,7 +153,7 @@ class GridColumnPlugin(
# TODO it should allow for the responsive utility class
# https://getbootstrap.com/docs/5.0/layout/grid/#column-resets
parent_classes = ["GridRowPlugin"]
edit_disabled = True
show_plugin_add_form = False

fieldsets = [
(
Expand Down