示例#1
0
def MediumTextAreaFieldWidget(field, request):
    """ Used by z3c.form """
    widget = TextAreaFieldWidget(field, request)
    widget.rows = 10
    return widget
示例#2
0
def LargeTextAreaFieldWidget(field, request):
    """ Used by z3c.form """
    widget = TextAreaFieldWidget(field, request)
    widget.rows = 15
    return widget
示例#3
0
def SmallTextAreaFieldWidget(field, request):
    """ Used by z3c.form """
    widget = TextAreaFieldWidget(field, request)
    widget.rows = 5
    return widget