- Timestamp:
- 2 Sep 2016, 11:28:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py
r14141 r14153 460 460 """ 461 461 462 class IPUTMEApplicantEdit(I PUTMEApplicantEdit):462 class IPUTMEApplicantEdit(ICustomUGApplicant): 463 463 """An undergraduate applicant interface for editing. 464 464 … … 472 472 """ 473 473 474 email = schema.ASCIILine( 475 title = _(u'Email Address'), 476 required = True, 477 constraint=validate_email, 478 ) 479 date_of_birth = FormattedDate( 480 title = _(u'Date of Birth'), 481 required = True, 482 show_year = True, 483 ) 484 nationality = schema.Choice( 485 source = nats_vocab, 486 title = _(u'Nationality'), 487 required = True, 488 ) 489 490 IPUTMEApplicantEdit[ 491 'date_of_birth'].order = ICustomUGApplicant['date_of_birth'].order 492 IPUTMEApplicantEdit[ 493 'email'].order = ICustomUGApplicant['email'].order 494 IPUTMEApplicantEdit[ 495 'nationality'].order = ICustomUGApplicant['nationality'].order 496 474 497 class ICustomApplicantUpdateByRegNo(INigeriaApplicantUpdateByRegNo): 475 498 """Representation of an applicant.
Note: See TracChangeset for help on using the changeset viewer.