Changeset 17073 for main/kofacustom.lpng/trunk
- Timestamp:
- 22 Aug 2022, 09:59:29 (2 years ago)
- Location:
- main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/browser.py
r17023 r17073 136 136 def form_fields(self): 137 137 form_fields = grok.AutoFields(ICustomApplicantEdit) 138 form_fields = form_fields.omit('notice' )138 form_fields = form_fields.omit('notice', 'locked', 'suspended') 139 139 if not getattr(self.context, 'student_id'): 140 140 form_fields = form_fields.omit('student_id') -
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/interfaces.py
r17015 r17073 98 98 date_of_birth = FormattedDate( 99 99 title = _(u'Date of Birth'), 100 required = True,100 required = False, 101 101 show_year = True, 102 102 ) … … 105 105 title = _(u'Gender'), 106 106 source = GenderSource(), 107 required = True,107 required = False, 108 108 ) 109 109
Note: See TracChangeset for help on using the changeset viewer.