diff --git a/bakerydemo/base/models.py b/bakerydemo/base/models.py index fbaa0b2..66df15f 100644 --- a/bakerydemo/base/models.py +++ b/bakerydemo/base/models.py @@ -184,7 +184,7 @@ class StandardPage(Page): BaseStreamBlock(), verbose_name="Page body", blank=True, use_json_field=True ) content_panels = Page.content_panels + [ - FieldPanel("introduction", classname="full"), + FieldPanel("introduction"), FieldPanel("body"), FieldPanel("image"), ] @@ -303,7 +303,7 @@ class HomePage(Page): MultiFieldPanel( [ FieldPanel("image"), - FieldPanel("hero_text", classname="full"), + FieldPanel("hero_text"), MultiFieldPanel( [ FieldPanel("hero_cta"), @@ -382,7 +382,7 @@ class GalleryPage(Page): ) content_panels = Page.content_panels + [ - FieldPanel("introduction", classname="full"), + FieldPanel("introduction"), FieldPanel("body"), FieldPanel("image"), FieldPanel("collection"), @@ -423,7 +423,7 @@ class FormPage(AbstractEmailForm): FieldPanel("image"), FieldPanel("body"), InlinePanel("form_fields", label="Form fields"), - FieldPanel("thank_you_text", classname="full"), + FieldPanel("thank_you_text"), MultiFieldPanel( [ FieldRowPanel( diff --git a/bakerydemo/blog/models.py b/bakerydemo/blog/models.py index 7a299af..3d05bf4 100644 --- a/bakerydemo/blog/models.py +++ b/bakerydemo/blog/models.py @@ -72,8 +72,8 @@ class BlogPage(Page): date_published = models.DateField("Date article published", blank=True, null=True) content_panels = Page.content_panels + [ - FieldPanel("subtitle", classname="full"), - FieldPanel("introduction", classname="full"), + FieldPanel("subtitle"), + FieldPanel("introduction"), FieldPanel("image"), FieldPanel("body"), FieldPanel("date_published"), @@ -140,7 +140,7 @@ class BlogIndexPage(RoutablePageMixin, Page): ) content_panels = Page.content_panels + [ - FieldPanel("introduction", classname="full"), + FieldPanel("introduction"), FieldPanel("image"), ] diff --git a/bakerydemo/breads/models.py b/bakerydemo/breads/models.py index 13db787..99ca6f9 100644 --- a/bakerydemo/breads/models.py +++ b/bakerydemo/breads/models.py @@ -118,7 +118,7 @@ class BreadPage(Page): ingredients = ParentalManyToManyField("BreadIngredient", blank=True) content_panels = Page.content_panels + [ - FieldPanel("introduction", classname="full"), + FieldPanel("introduction"), FieldPanel("image"), FieldPanel("body"), FieldPanel("origin"), @@ -162,7 +162,7 @@ class BreadsIndexPage(Page): ) content_panels = Page.content_panels + [ - FieldPanel("introduction", classname="full"), + FieldPanel("introduction"), FieldPanel("image"), ] diff --git a/bakerydemo/locations/models.py b/bakerydemo/locations/models.py index 19bc5ab..0e2d808 100644 --- a/bakerydemo/locations/models.py +++ b/bakerydemo/locations/models.py @@ -97,7 +97,7 @@ class LocationsIndexPage(Page): return context content_panels = Page.content_panels + [ - FieldPanel("introduction", classname="full"), + FieldPanel("introduction"), FieldPanel("image"), ] @@ -141,11 +141,11 @@ class LocationPage(Page): # Fields to show to the editor in the admin view content_panels = [ - FieldPanel("title", classname="full"), - FieldPanel("introduction", classname="full"), + FieldPanel("title"), + FieldPanel("introduction"), FieldPanel("image"), FieldPanel("body"), - FieldPanel("address", classname="full"), + FieldPanel("address"), FieldPanel("lat_long"), InlinePanel("hours_of_operation", label="Hours of Operation"), ]