Changeset 15581 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 4 Sep 2019, 08:30:04 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r15578 r15581 668 668 grok.context(IApplicant) 669 669 grok.name('base') 670 form_fields = grok.AutoFields(IApplicant).select( 671 'applicant_id', 'reg_number', 'email', 'course1') 670 @property 671 def form_fields(self): 672 form_fields = grok.AutoFields(IApplicant).select( 673 'applicant_id', 'reg_number', 'email', 'course1') 674 if self.context.__parent__.prefix in ('special',): 675 form_fields['reg_number'].field.title = u'Identification Number' 676 return form_fields 677 return form_fields 672 678 673 679 class CreateStudentPage(UtilityView, grok.View):
Note: See TracChangeset for help on using the changeset viewer.