- Timestamp:
- 5 Oct 2020, 06:32:36 (4 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/browser.py
r16264 r16265 81 81 def form_fields(self): 82 82 form_fields = grok.AutoFields(ICustomStudentBase).select( 83 'email', ' email2', 'parents_email', 'phone',)83 'email', 'parents_email', 'phone',) 84 84 if not self.context.state in (ADMITTED, CLEARANCE): 85 85 form_fields['parents_email'].for_display = True -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/interfaces.py
r16252 r16265 37 37 """ 38 38 39 email2 = schema.ASCIILine(40 title = _(u'Second Email'),41 required = False,42 constraint=validate_email,43 )39 #email2 = schema.ASCIILine( 40 # title = _(u'Second Email'), 41 # required = False, 42 # constraint=validate_email, 43 # ) 44 44 45 45 library = schema.Bool( … … 49 49 ) 50 50 51 ICustomStudentBase['email2'].order = ICustomStudentBase[52 'phone'].order51 #ICustomStudentBase['email2'].order = ICustomStudentBase[ 52 # 'phone'].order 53 53 ICustomStudentBase['phone'].order = ICustomStudentBase[ 54 54 'email'].order … … 69 69 ) 70 70 71 email2 = schema.ASCIILine(72 title = _(u'Second Email'),73 required = False,74 constraint=validate_email,75 )71 #email2 = schema.ASCIILine( 72 # title = _(u'Second Email'), 73 # required = False, 74 # constraint=validate_email, 75 # ) 76 76 77 77 phone = PhoneNumber(
Note: See TracChangeset for help on using the changeset viewer.