Changeset 15740


Ignore:
Timestamp:
2 Nov 2019, 06:33:14 (5 years ago)
Author:
Henrik Bettermann
Message:

Add field.

File:
1 edited

Legend:

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

    r15693 r15740  
    6767    )
    6868
     69request_types_vocab = SimpleKofaVocabulary(
     70    (_('Scanned Result'), 'result'),
     71    (_('Scanned Certificate'), 'certificate'),
     72    (_('Scanned Transcript'), 'transcript'),
     73    (_('Attestation'), 'attest'),
     74    (_('Proficiency in English Language'), 'english'),
     75    )
     76
    6977class ICustomUGApplicant(IApplicantBaseData):
    7078    """An undergraduate applicant.
     
    919927        required = True,
    920928        constraint=validate_email,
     929        )
     930
     931    request_type = schema.Choice(
     932        title = _(u'Request Type'),
     933        vocabulary = request_types_vocab,
     934        required = True,
    921935        )
    922936
Note: See TracChangeset for help on using the changeset viewer.