Changeset 15490 for main


Ignore:
Timestamp:
9 Jul 2019, 06:17:19 (5 years ago)
Author:
Henrik Bettermann
Message:

Add disabilities field.

File:
1 edited

Legend:

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

    r14212 r15490  
    3232from waeup.kofa.interfaces import (
    3333    SimpleKofaVocabulary, academic_sessions_vocab, validate_email,
    34     IKofaObject, ContextualDictSourceFactoryBase)
     34    IKofaObject)
    3535from waeup.kofa.schema import FormattedDate, TextLineChoice, PhoneNumber
    36 from waeup.kofa.students.vocabularies import nats_vocab, GenderSource
     36from waeup.kofa.students.vocabularies import (
     37    nats_vocab, GenderSource)
    3738from waeup.kofa.refereeentries import RefereeEntryField
    3839from waeup.kofa.applicants.interfaces import contextual_reg_num_source
     40from kofacustom.nigeria.interfaces import DisabilitiesSource
    3941from kofacustom.nigeria.applicants.interfaces import (
    4042    LGASource, high_qual, high_grade, exam_types,
     
    190192    """
    191193
     194    disabilities = schema.Choice(
     195        title = _(u'Disabilities'),
     196        source = DisabilitiesSource(),
     197        required = False,
     198        )
    192199    nationality = schema.Choice(
    193200        source = nats_vocab,
Note: See TracChangeset for help on using the changeset viewer.