summaryrefslogtreecommitdiffstats
path: root/tabellio/mixedcommittee/committee.py
blob: 74d71e7804d2a6a5239a6fcd459d1959b127b4cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from five import grok
from zope import schema
from zope.interface import implements
from z3c.relationfield.schema import RelationChoice
from Products.Five import BrowserView

from plone.directives import form, dexterity
from plone.dexterity.content import Item
from plone.formwidget.contenttree import ObjPathSourceBinder
from plone.app.textfield import RichText
from plone.namedfile.field import NamedImage

from tabellio.mixedcommittee import MessageFactory as _

class ICommittee(form.Schema):
    composition = RichText(title=_(u'Composition'), required=False)
    relationship = RichText(title=_(u'Relationship'), required=False)
    resolutions = RichText(title=_(u'Resolutions'), required=False)

class Committee(Item):
    implements(ICommittee)