from raptus.person import interfaces from raptus.person.config import PROJECTNAME from raptus.person import _ PersonSchema = article.ArticleSchema.copy() + atapi.Schema( ( TextField( "position", required=False, searchable=True, accessor="Position", storage=AnnotationStorage(), validators=("isTidyHtmlWithCleanup",), default_output_type="text/x-html-safe", widget=RichWidget(description="", label=_(u"label_position", default=u"Position"), rows=3), ), StringField( name="phone", required=False, accessor="Phone", languageIndependent=True, storage=AnnotationStorage(), widget=StringWidget(label=_(u"Phone"), description=u""), ), StringField( name="email", required=False, accessor="Email", languageIndependent=True, storage=AnnotationStorage(),
def title(self): return _(u"Person")