Disable inline panels to prevent unintended deletions
This commit is contained in:
parent
69cef5eafc
commit
5a7df87107
|
|
@ -38,26 +38,26 @@ class Module(StrictHierarchyPage):
|
||||||
FieldPanel("hero_source"),
|
FieldPanel("hero_source"),
|
||||||
FieldPanel("teaser"),
|
FieldPanel("teaser"),
|
||||||
FieldPanel("intro"),
|
FieldPanel("intro"),
|
||||||
InlinePanel(
|
# InlinePanel(
|
||||||
"assignments",
|
# "assignments",
|
||||||
label=_("Assignment"),
|
# label=_("Assignment"),
|
||||||
classname="collapsed",
|
# classname="collapsed",
|
||||||
heading=_("linked assignments"),
|
# heading=_("linked assignments"),
|
||||||
help_text=_(
|
# help_text=_(
|
||||||
"These %s are automatically linked, they are shown here only to provide an overview. Please don't change anything here."
|
# "These %s are automatically linked, they are shown here only to provide an overview. Please don't change anything here."
|
||||||
)
|
# )
|
||||||
% _("assignments"),
|
# % _("assignments"),
|
||||||
),
|
# ),
|
||||||
InlinePanel(
|
# InlinePanel(
|
||||||
"surveys",
|
# "surveys",
|
||||||
heading=_("linked surveys"),
|
# heading=_("linked surveys"),
|
||||||
label=_("Survey"),
|
# label=_("Survey"),
|
||||||
classname="collapsed",
|
# classname="collapsed",
|
||||||
help_text=_(
|
# help_text=_(
|
||||||
"These %s are automatically linked, they are shown here only to provide an overview. Please don't change anything here."
|
# "These %s are automatically linked, they are shown here only to provide an overview. Please don't change anything here."
|
||||||
)
|
# )
|
||||||
% _("surveys"),
|
# % _("surveys"),
|
||||||
),
|
# ),
|
||||||
]
|
]
|
||||||
|
|
||||||
edit_handler = TabbedInterface(
|
edit_handler = TabbedInterface(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue