- Timestamp:
- 2 Dec 2019, 18:20:57 (5 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/interfaces.py
r15858 r15863 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 ( … … 45 45 (_('Bauchi Government'), 'bauchi'), 46 46 (_('Company'), 'company'), 47 (_('Federal Government (Amnesty)'), 'federalgov'),48 (_('Dangote Group'), 'dangote'),47 (_('Federal Government of Nigeria'), 'federalgov'), 48 #(_('Dangote Group'), 'dangote'), 49 49 (_('Kano Government'), 'kano'), 50 50 (_('Parent/Guardian'), 'parent'), 51 51 (_('Rosula Organization'), 'rosula'), 52 52 (_('Self'), 'self'), 53 (_('Social Impact Project'), 'social'),53 #(_('Social Impact Project'), 'social'), 54 54 ) 55 55 … … 60 60 (_('Radio Advertisement'), 'radio'), 61 61 (_('Television Advertisement'), 'television'), 62 (_('SMS'), 'sms'), 62 63 ) 63 64 … … 96 97 required = False, 97 98 ) 99 sponsor = schema.Choice( 100 title = _(u'Sponsor'), 101 vocabulary = sponsors_vocab, 102 required = False, 103 ) 104 heard_about = schema.Choice( 105 title = _(u'How did you hear about IUO?'), 106 vocabulary = heard_about_types_vocab, 107 required = False, 108 ) 98 109 #perm_address = schema.Text( 99 110 # title = _(u'Permanent Address'), 100 111 # required = False, 101 112 # ) 113 parents_name = schema.TextLine( 114 title = _(u'Full Name'), 115 required = False, 116 readonly = False, 117 ) 118 parents_email = schema.ASCIILine( 119 title = _(u'Email Address'), 120 required = False, 121 constraint=validate_email, 122 ) 123 parents_phone = PhoneNumber( 124 title = _(u'Phone'), 125 required = False, 126 ) 102 127 course1 = schema.Choice( 103 128 title = _(u'1st Choice Course of Study'), … … 113 138 title = _(u'Programme Type'), 114 139 vocabulary = programme_types_vocab, 115 required = False,116 )117 sponsor = schema.Choice(118 title = _(u'Sponsor'),119 vocabulary = sponsors_vocab,120 required = False,121 )122 heard_about = schema.Choice(123 title = _(u'How did you hear about IU?'),124 vocabulary = heard_about_types_vocab,125 140 required = False, 126 141 ) -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/utils.py
r15860 r15863 62 62 'form.scd_sit_fname': _(u'Second Sitting Record'), 63 63 'form.referees': _(u'Referees'), 64 'form.parents_name': _(u'Parents / Guardian'), 64 65 } 65 66
Note: See TracChangeset for help on using the changeset viewer.