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