change historical and scope notes to be rich text (#2984)

This commit is contained in:
Frédéric Péters 2013-08-22 14:08:39 +02:00
parent 8db1c70c6c
commit 5fff25c340
1 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,8 @@ from zope import schema
from plone.dexterity.schema import DexteritySchemaPolicy
from plone.dexterity.content import Item
from plone.app.textfield import RichText
from plone.supermodel import model
from . import _
@ -43,13 +45,13 @@ class IDmsKeyword(model.Schema):
)
# HN: historical note
historical_note = schema.Text(
historical_note = RichText(
title=_(u"HN (Historical Note)"),
required=False,
)
# SN: scope note
scope_note = schema.Text(
scope_note = RichText(
title=_(u"SN (Scope Note)"),
required=False,
)