Changeset 16105 for main/kofacustom.iuokada/trunk
- Timestamp:
- 4 Jun 2020, 06:28:08 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/interfaces.py
r16063 r16105 401 401 """ 402 402 403 phone = PhoneNumber( 404 title = _(u'Phone'), 405 description = u'', 406 required = True, 407 ) 408 email = schema.ASCIILine( 409 title = _(u'Email Address'), 410 required = True, 411 constraint=validate_email, 412 ) 413 date_of_birth = FormattedDate( 414 title = _(u'Date of Birth'), 415 required = True, 416 show_year = True, 417 ) 418 419 ICustomUGApplicantEdit[ 420 'date_of_birth'].order = ICustomUGApplicant['date_of_birth'].order 421 ICustomUGApplicantEdit[ 422 'email'].order = ICustomUGApplicant['email'].order 423 ICustomUGApplicantEdit[ 424 'phone'].order = ICustomUGApplicantEdit['email'].order 425 403 426 class ICustomPGApplicantEdit(ICustomPGApplicant): 404 427 """A postgraduate applicant interface for editing. … … 413 436 """ 414 437 438 phone = PhoneNumber( 439 title = _(u'Phone'), 440 description = u'', 441 required = True, 442 ) 443 email = schema.ASCIILine( 444 title = _(u'Email Address'), 445 required = True, 446 constraint=validate_email, 447 ) 448 date_of_birth = FormattedDate( 449 title = _(u'Date of Birth'), 450 required = True, 451 show_year = True, 452 ) 453 454 ICustomPGApplicantEdit[ 455 'date_of_birth'].order = ICustomPGApplicant['date_of_birth'].order 456 ICustomPGApplicantEdit[ 457 'email'].order = ICustomPGApplicant['email'].order 458 ICustomPGApplicantEdit[ 459 'phone'].order = ICustomPGApplicantEdit['email'].order 460 415 461 class ICustomApplicantOnlinePayment(INigeriaApplicantOnlinePayment): 416 462 """An applicant payment via payment gateways.
Note: See TracChangeset for help on using the changeset viewer.