kopia lustrzana https://github.com/wagtail/wagtail
pull/1103/head
rodzic
e4f5229508
commit
d47f608f35
|
@ -74,8 +74,6 @@ class BaseStructBlock(Block):
|
|||
for child_rendering in child_renderings
|
||||
])
|
||||
|
||||
|
||||
# Can these be rendered with a template?
|
||||
if self.label:
|
||||
return format_html('<div class="struct-block"><label>{0}</label> <ul>{1}</ul></div>', self.label, list_items)
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue