Ignore:
Timestamp:
11 Jun 2011, 04:59:02 (13 years ago)
Author:
Henrik Bettermann
Message:

Display field attribute 'description' which is called hint in widgets and forms.

Change layout of form status message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py

    r6339 r6341  
    333333        required = False,
    334334        )
    335     email = schema.TextLine(
     335    email = schema.ASCIILine(
    336336        title = u'Email',
    337337        required = False,
    338338        )
    339     phone = schema.TextLine(
     339    phone = schema.Int(
    340340        title = u'Phone',
     341        description = u'Enter phone number with country code and without spaces.',
    341342        required = False,
    342343        )
     
    345346        #default = DEFAULT_PASSPORT_IMAGE_MALE,
    346347        defaultFactory = default_passport_image,
     348        description = u'Maximun file size is 20 kB.',
    347349        required = True,
    348350        max_size = 20480,
Note: See TracChangeset for help on using the changeset viewer.