diff --git a/djangocms_frontend/contrib/modal/cms_plugins.py b/djangocms_frontend/contrib/modal/cms_plugins.py index 7de6b0dd..a82e2652 100644 --- a/djangocms_frontend/contrib/modal/cms_plugins.py +++ b/djangocms_frontend/contrib/modal/cms_plugins.py @@ -82,6 +82,7 @@ class ModalContainerPlugin(mixin_factory("ModalContainer"), CMSUIPlugin): ("modal_centered"), ("modal_static", "modal_scrollable"), ("modal_size", "modal_fullscreen"), + ("modal_footer"), ) } ), diff --git a/djangocms_frontend/contrib/modal/forms.py b/djangocms_frontend/contrib/modal/forms.py index d91fb46a..bb7b01af 100644 --- a/djangocms_frontend/contrib/modal/forms.py +++ b/djangocms_frontend/contrib/modal/forms.py @@ -115,10 +115,10 @@ class Meta: help_text=_("If selected, the modal will not close when clicking outside of it."), ) - modal_footer = forms.BooleanField( - label=_("Footer"), + modal_footer = forms.BooleanField( + label=_("Footer and close button"), required=False, - help_text=_("If selected, the modal will display a footer with a close button."), + help_text=_("If selected, the modal will show a modal footer with a close button."), ) modal_scrollable = forms.BooleanField(