Changeset 10640
- Timestamp:
- 23 Sep 2013, 05:29:14 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/applicants/interfaces.py
r10619 r10640 26 26 from waeup.kofa.interfaces import ( 27 27 SimpleKofaVocabulary, academic_sessions_vocab, validate_email) 28 from waeup.kofa.schema import FormattedDate, TextLineChoice 28 from waeup.kofa.schema import FormattedDate, TextLineChoice, PhoneNumber 29 29 from waeup.kofa.students.vocabularies import nats_vocab, GenderSource 30 30 from waeup.kofa.applicants.interfaces import contextual_reg_num_source … … 286 286 respective form page. 287 287 """ 288 288 email = schema.ASCIILine( 289 title = _(u'Email Address'), 290 required = True, 291 constraint=validate_email, 292 ) 293 phone = PhoneNumber( 294 title = _(u'Phone'), 295 description = u'', 296 required = True, 297 ) 289 298 sex = schema.Choice( 290 299 title = _(u'Sex'), … … 297 306 required = True, 298 307 ) 299 308 olevel_type = schema.Choice( 309 title = _(u'Qualification Obtained'), 310 required = True, 311 readonly = False, 312 vocabulary = exam_types, 313 ) 314 jamb_subjects = schema.Text( 315 title = _(u'Subjects and Scores'), 316 description = _(u'(one subject with score per line)'), 317 required = True, 318 ) 319 320 ICustomUGApplicantEdit[ 321 'email'].order = ICustomUGApplicant['email'].order 322 ICustomUGApplicantEdit[ 323 'phone'].order = ICustomUGApplicant['phone'].order 300 324 ICustomUGApplicantEdit[ 301 325 'course1'].order = ICustomUGApplicant['course1'].order 302 326 ICustomUGApplicantEdit[ 303 327 'sex'].order = ICustomUGApplicant['sex'].order 328 ICustomUGApplicantEdit[ 329 'olevel_type'].order = ICustomUGApplicant['olevel_type'].order 330 ICustomUGApplicantEdit[ 331 'jamb_subjects'].order = ICustomUGApplicant['jamb_subjects'].order 304 332 305 333 class ICustomPGApplicantEdit(INigeriaPGApplicantEdit):
Note: See TracChangeset for help on using the changeset viewer.