homenews: do not require homepage text
This commit is contained in:
parent
921e60514f
commit
30db16cb81
|
@ -14,7 +14,7 @@ from tabellio.pfbviews import MessageFactory as _
|
||||||
|
|
||||||
class IHomeNews(form.Schema):
|
class IHomeNews(form.Schema):
|
||||||
picture = NamedImage(title=_(u'Picture'), required=False)
|
picture = NamedImage(title=_(u'Picture'), required=False)
|
||||||
homepage_text = RichText(title=_(u'Homepage Text'), required=True)
|
homepage_text = RichText(title=_(u'Homepage Text'), required=False)
|
||||||
text = RichText(title=_(u'Text'), required=False)
|
text = RichText(title=_(u'Text'), required=False)
|
||||||
on_homepage = schema.Bool(title=_(u'Include on homepage'), default=True)
|
on_homepage = schema.Bool(title=_(u'Include on homepage'), default=True)
|
||||||
|
|
||||||
|
|
Reference in New Issue