Changeset 10587 for main/waeup.uniben
- Timestamp:
- 5 Sep 2013, 11:18:07 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r10378 r10587 19 19 """ 20 20 import grok 21 from waeup.kofa.applicants.browser import ApplicantRegistrationPage 21 from waeup.kofa.applicants.browser import ( 22 ApplicantRegistrationPage, ApplicantsContainerPage) 22 23 from kofacustom.nigeria.applicants.browser import ( 23 24 NigeriaApplicantDisplayFormPage, … … 41 42 42 43 PASTQ_MSS = ['ACC','BNK','BUS','ECO','GEO','POL','SAA','SWK'] + PASTQ_ALL 44 45 class CustomApplicantsContainerPage(ApplicantsContainerPage): 46 """The standard view for regular applicant containers. 47 """ 48 49 @property 50 def form_fields(self): 51 form_fields = super(CustomApplicantsContainerPage, self).form_fields 52 if self.request.principal.id == 'zope.anybody': 53 return form_fields.omit('application_fee') 54 return form_fields 43 55 44 56 class CustomApplicantRegistrationPage(ApplicantRegistrationPage):
Note: See TracChangeset for help on using the changeset viewer.