added colors
This commit is contained in:
@@ -9,6 +9,8 @@ from wagtail.contrib.forms.models import AbstractEmailForm, AbstractFormField
|
||||
from wagtail.fields import RichTextField
|
||||
from wagtail.admin.panels import FieldPanel, FieldRowPanel,InlinePanel, MultiFieldPanel
|
||||
|
||||
from saburly.custom_editor import FULL_EDITOR
|
||||
|
||||
|
||||
class FormField(AbstractFormField):
|
||||
page = ParentalKey(
|
||||
@@ -19,13 +21,13 @@ class FormField(AbstractFormField):
|
||||
|
||||
class ContactPage(AbstractEmailForm):
|
||||
|
||||
section_one_title = RichTextField(blank=True)
|
||||
section_one_text = RichTextField(blank=True)
|
||||
section_one_img = RichTextField(blank=True)
|
||||
section_one_title = RichTextField(blank=True, features=FULL_EDITOR)
|
||||
section_one_text = RichTextField(blank=True, features=FULL_EDITOR)
|
||||
section_one_img = RichTextField(blank=True, features=FULL_EDITOR)
|
||||
|
||||
section_two_title = RichTextField(blank=True)
|
||||
section_two_text = RichTextField(blank=True)
|
||||
section_two_img = RichTextField(blank=True)
|
||||
section_two_title = RichTextField(blank=True, features=FULL_EDITOR)
|
||||
section_two_text = RichTextField(blank=True, features=FULL_EDITOR)
|
||||
section_two_img = RichTextField(blank=True, features=FULL_EDITOR)
|
||||
|
||||
content_panels = AbstractEmailForm.content_panels + [
|
||||
MultiFieldPanel([
|
||||
|
||||
Reference in New Issue
Block a user