- Timestamp:
- 8 Jul 2012, 17:35:45 (12 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py
r8904 r8946 133 133 cm = getattr(self.context,'current_mode', None) 134 134 if cm is not None and cm.startswith('pg'): 135 form_fields = grok.AutoFields(INigeriaPGStudentClearance).omit('clearance_locked') 136 else: 137 form_fields = grok.AutoFields(INigeriaUGStudentClearance).omit('clearance_locked') 135 form_fields = grok.AutoFields(INigeriaPGStudentClearance).omit( 136 'clearance_locked', 'nysc_location') 137 else: 138 form_fields = grok.AutoFields(INigeriaUGStudentClearance).omit( 139 'clearance_locked') 138 140 return form_fields 139 141 -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/interfaces.py
r8923 r8946 305 305 ) 306 306 307 nysc_location = schema.TextLine( 308 title = _(u'Nysc Location'), 309 required = False, 310 ) 311 307 312 nysc_lga = schema.Choice( 308 313 source = LGASource(), 309 title = _(u'Nysc L ocation'),314 title = _(u'Nysc LGA'), 310 315 required = False, 311 316 )
Note: See TracChangeset for help on using the changeset viewer.