Changeset 10591 for main/kofacustom.nigeria
- Timestamp:
- 6 Sep 2013, 04:32:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/interfaces.py
r10386 r10591 100 100 adding them to the UG_OMIT* tuples. 101 101 """ 102 102 sex = schema.Choice( 103 title = _(u'Sex'), 104 source = GenderSource(), 105 required = False, 106 ) 103 107 nationality = schema.Choice( 104 108 source = nats_vocab, … … 118 122 title = _(u'1st Choice Course of Study'), 119 123 source = AppCatCertificateSource(), 120 required = True,124 required = False, 121 125 ) 122 126 course2 = schema.Choice( … … 207 211 ) 208 212 213 INigeriaUGApplicant[ 214 'sex'].order = IApplicantBaseData['sex'].order 209 215 INigeriaUGApplicant[ 210 216 'locked'].order = IApplicantBaseData['suspended'].order … … 424 430 constraint=validate_email, 425 431 ) 432 sex = schema.Choice( 433 title = _(u'Sex'), 434 source = GenderSource(), 435 required = True, 436 ) 426 437 date_of_birth = FormattedDate( 427 438 title = _(u'Date of Birth'), 428 439 required = True, 429 440 show_year = True, 441 ) 442 course1 = schema.Choice( 443 title = _(u'1st Choice Course of Study'), 444 source = AppCatCertificateSource(), 445 required = True, 430 446 ) 431 447 … … 433 449 'date_of_birth'].order = INigeriaUGApplicant['date_of_birth'].order 434 450 INigeriaUGApplicantEdit[ 451 'sex'].order = INigeriaUGApplicant['sex'].order 452 INigeriaUGApplicantEdit[ 435 453 'email'].order = INigeriaUGApplicant['email'].order 454 INigeriaUGApplicantEdit[ 455 'course1'].order = INigeriaUGApplicant['course1'].order 436 456 437 457 class INigeriaPGApplicantEdit(INigeriaPGApplicant):
Note: See TracChangeset for help on using the changeset viewer.