add rich text field for event text
This commit is contained in:
parent
22b4145c79
commit
e24566898f
|
@ -10,6 +10,7 @@ from Products.CMFCore.utils import getToolByName
|
|||
from zope.i18n.locales import locales
|
||||
from plone.directives import form, dexterity
|
||||
from plone.dexterity.content import Item
|
||||
from plone.app.textfield import RichText
|
||||
|
||||
from tabellio.agenda.interfaces import MessageFactory as _
|
||||
|
||||
|
@ -25,6 +26,7 @@ class IBaseEvent(form.Schema):
|
|||
start = schema.Datetime(title=_(u'Start'))
|
||||
end = schema.Datetime(title=_(u'End'), required=False)
|
||||
|
||||
text = RichText(title=_(u'Text'), required=False)
|
||||
|
||||
|
||||
class IEvent(IBaseEvent):
|
||||
|
|
Reference in New Issue