Merge branch 'master' into feature/taavi-design-updates

pull/3/head
Dave Cranwell 2014-02-06 09:37:32 +00:00
commit b6cde51830
1 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -632,8 +632,13 @@ def InlinePanel(base_model, relation_name, panels=None, label='', help_text=''):
# Now that we've defined EditHandlers, we can set up wagtailcore.Page to have some.
Page.content_panels = [
FieldPanel('title'),
FieldPanel('slug'),
FieldPanel('title', classname="full title"),
]
Page.promote_panels = [
MultiFieldPanel([
FieldPanel('slug'),
FieldPanel('seo_title'),
FieldPanel('show_in_menus'),
FieldPanel('search_description'),
], 'Common page configuration'),
]