Changeset 6788
- Timestamp:
- 18 Sep 2011, 00:11:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/interfaces.py
r6783 r6788 1 1 ## 2 2 ## interfaces.py 3 from zope.interface import Interface,Attribute, invariant3 from zope.interface import Attribute, invariant 4 4 from zope.interface.exceptions import Invalid 5 5 from zope import schema 6 6 from waeup.sirp.interfaces import IWAeUPObject 7 from waeup.sirp. university.vocabularies import study_modes7 from waeup.sirp.schema import TextLineChoice 8 8 from waeup.sirp.students.vocabularies import ( 9 year_range, lgas_vocab, CertificateSource, GenderSource,10 academic_sessions_vocab, verdicts, StudyLevelSource,9 CertificateSource, academic_sessions_vocab, verdicts, StudyLevelSource, 10 contextual_reg_num_source, contextual_mat_num_source, 11 11 ) 12 12 … … 107 107 ) 108 108 109 reg_number = schema.TextLine(109 reg_number = TextLineChoice( 110 110 title = u'Registration Number', 111 default = u'',111 #default = u'', 112 112 required = True, 113 113 readonly = False, 114 ) 115 116 matric_number = schema.TextLine( 114 source = contextual_reg_num_source, 115 ) 116 117 matric_number = TextLineChoice( 117 118 title = u'Matriculation Number', 118 default = u'',119 #default = u'', 119 120 required = False, 120 121 readonly = False, 122 source = contextual_mat_num_source, 121 123 ) 122 124
Note: See TracChangeset for help on using the changeset viewer.