Changeset 14212 for main/waeup.uniben


Ignore:
Timestamp:
4 Oct 2016, 08:05:11 (8 years ago)
Author:
Henrik Bettermann
Message:

Fix ICustomUGApplicantEdit.

File:
1 edited

Legend:

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

    r14153 r14212  
    421421        """
    422422
    423 class ICustomUGApplicantEdit(INigeriaUGApplicantEdit):
     423class ICustomUGApplicantEdit(ICustomUGApplicant):
    424424    """An undergraduate applicant interface for edit forms.
    425425
     
    432432    respective form page.
    433433    """
     434
     435    email = schema.ASCIILine(
     436        title = _(u'Email Address'),
     437        required = True,
     438        constraint=validate_email,
     439        )
     440    date_of_birth = FormattedDate(
     441        title = _(u'Date of Birth'),
     442        required = True,
     443        show_year = True,
     444        )
     445
     446ICustomUGApplicantEdit[
     447    'date_of_birth'].order = ICustomUGApplicant['date_of_birth'].order
     448ICustomUGApplicantEdit[
     449    'email'].order = ICustomUGApplicant['email'].order
    434450
    435451class ICustomPGApplicantEdit(INigeriaPGApplicantEdit):
Note: See TracChangeset for help on using the changeset viewer.