Ignore:
Timestamp:
8 Apr 2016, 15:54:59 (8 years ago)
Author:
Henrik Bettermann
Message:

Change IUnibenRegistration.

File:
1 edited

Legend:

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

    r13814 r13819  
    104104        )
    105105
    106     #matric_number = schema.TextLine(
    107     #    title = _(u'Matriculation Number'),
    108     #    readonly = False,
    109     #    required = False,
    110     #    )
    111 
    112     date_of_birth = FormattedDate(
    113         title = _(u'Date of Birth'),
    114         required = False,
    115         #date_format = u'%d/%m/%Y', # Use grok-instance-wide default
    116         show_year = True,
    117         )
    118 
    119     place_of_birth = schema.TextLine(
    120         title = _(u'Place of Birth'),
    121         readonly = False,
    122         required = False,
     106    sex = schema.Choice(
     107        title = _(u'Sex'),
     108        source = GenderSource(),
     109        required = True,
    123110        )
    124111
     
    141128        )
    142129
    143     perm_address = schema.Text(
    144         title = _(u'Current Local Address'),
     130    #perm_address = schema.Text(
     131    #    title = _(u'Current Local Address'),
     132    #    required = False,
     133    #    readonly = False,
     134    #    )
     135
     136    institution = schema.TextLine(
     137        title = _(u'Institution/Organisation'),
     138        required = False,
     139        readonly = False,
     140        )
     141
     142    lga = schema.Choice(
     143        source = LGASource(),
     144        title = _(u'State/LGA'),
     145        required = False,
     146        )
     147
     148    city = schema.TextLine(
     149        title = _(u'City'),
    145150        required = False,
    146151        readonly = False,
Note: See TracChangeset for help on using the changeset viewer.