Skip to content

Commit

Permalink
Update cms_plugins.py
Browse files Browse the repository at this point in the history
Change parent_classes CardPlugin to ModalPlugin
  • Loading branch information
mavoIn authored Nov 12, 2024
1 parent 3df3b0c commit 80fab0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djangocms_frontend/contrib/modal/cms_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ModalTriggerPlugin(mixin_factory("ModalTrigger"), AttributesMixin, CMSUIPl
form = forms.ModalTriggerForm
allow_children = True
parent_classes = [
"CardPlugin"
"ModalPlugin"
]

fieldsets = [
Expand All @@ -67,7 +67,7 @@ class ModalContainerPlugin(mixin_factory("ModalContainer"), CMSUIPlugin):
form = forms.ModalContainerForm
allow_children = True
parent_classes = [
"CardPlugin"
"ModalPlugin"
]
child_classes = [
"ModalInnerPlugin",
Expand Down

0 comments on commit 80fab0f

Please sign in to comment.