Ignore:
Timestamp:
28 Oct 2020, 20:34:03 (4 years ago)
Author:
Henrik Bettermann
Message:

Add fields (#81)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/interfaces.py

    r16281 r16287  
    146146
    147147    email = TextLineChoice(
    148         title = _(u'Email Address Test'),
    149         required = False,
     148        title = _(u'Email Address'),
     149        required = True,
    150150        constraint=validate_email,
    151151        source = contextual_email_source,
     
    182182        required = False,
    183183        )
    184     #perm_address = schema.Text(
    185     #    title = _(u'Permanent Address'),
    186     #    required = False,
    187     #    )
     184    perm_address = schema.Text(
     185        title = _(u'Residential Address'),
     186        required = True,
     187        )
    188188    parents_name = schema.TextLine(
    189189        title = _(u'Full Name'),
     
    389389
    390390    email = TextLineChoice(
    391         title = _(u'Email Address Test'),
    392         required = False,
     391        title = _(u'Email Address'),
     392        required = True,
    393393        constraint=validate_email,
    394394        source = contextual_email_source,
     395        )
     396
     397    perm_address = schema.Text(
     398        title = _(u'Residential Address'),
     399        required = True,
    395400        )
    396401
     
    432437ICustomPGApplicant[
    433438    'nysc_number'].order =  ICustomPGApplicant['nysc_year'].order
     439ICustomPGApplicant[
     440    'perm_address'].order =  ICustomPGApplicant['lga'].order
     441ICustomPGApplicant[
     442    'email'].order =  ICustomPGApplicant['lga'].order
    434443
    435444class ITranscriptApplicant(IKofaObject):
     
    619628        )
    620629    email = TextLineChoice(
    621         title = _(u'Email Address Test'),
     630        title = _(u'Email Address'),
    622631        required = False,
    623632        constraint=validate_email,
     
    655664        )
    656665    email = TextLineChoice(
    657         title = _(u'Email Address Test'),
     666        title = _(u'Email Address'),
    658667        required = False,
    659668        constraint=validate_email,
     
    680689
    681690    email = TextLineChoice(
    682         title = _(u'Email Address Test'),
     691        title = _(u'Email Address'),
    683692        required = False,
    684693        constraint=validate_email,
Note: See TracChangeset for help on using the changeset viewer.