Changeset 17073


Ignore:
Timestamp:
22 Aug 2022, 09:59:29 (2 years ago)
Author:
Henrik Bettermann
Message:

Update form.

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  
    136136    def form_fields(self):
    137137        form_fields = grok.AutoFields(ICustomApplicantEdit)
    138         form_fields = form_fields.omit('notice')
     138        form_fields = form_fields.omit('notice', 'locked', 'suspended')
    139139        if not getattr(self.context, 'student_id'):
    140140            form_fields = form_fields.omit('student_id')
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/interfaces.py

    r17015 r17073  
    9898    date_of_birth = FormattedDate(
    9999        title = _(u'Date of Birth'),
    100         required = True,
     100        required = False,
    101101        show_year = True,
    102102        )
     
    105105        title = _(u'Gender'),
    106106        source = GenderSource(),
    107         required = True,
     107        required = False,
    108108        )
    109109
Note: See TracChangeset for help on using the changeset viewer.