Ignore:
Timestamp:
15 Feb 2022, 17:42:22 (3 years ago)
Author:
Henrik Bettermann
Message:

Change flc application form.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py

    r16804 r16807  
    258258            #form_fields['perm_address'].custom_widget = BytesDisplayWidget
    259259            return form_fields
    260         if self.target is not None and self.target == 'french':
     260        if self.target is not None and self.target == 'flc':
    261261            form_fields = grok.AutoFields(IFrenchApplicant)
    262262            for field in REGISTRATION_OMIT_DISPLAY_FIELDS:
     
    458458                form_fields['registration_cats'].for_display = True
    459459            return form_fields
    460         if self.target is not None and self.target == 'french':
     460        if self.target is not None and self.target == 'flc':
    461461            form_fields = grok.AutoFields(IFrenchApplicant)
    462462            for field in REGISTRATION_OMIT_MANAGE_FIELDS:
     
    543543                form_fields['registration_cats'].for_display = True
    544544            return form_fields
    545         if self.target is not None and self.target == 'french':
     545        if self.target is not None and self.target == 'flc':
    546546            form_fields = grok.AutoFields(IFrenchApplicant)
    547547            for field in REGISTRATION_OMIT_EDIT_FIELDS:
     
    721721                for field in PUDE_OMIT_PDF_FIELDS:
    722722                    form_fields = form_fields.omit(field)
    723         elif self.target is not None and self.target == 'french':
     723        elif self.target is not None and self.target == 'flc':
    724724            form_fields = grok.AutoFields(IFrenchApplicant)
    725725            for field in REGISTRATION_OMIT_PDF_FIELDS:
Note: See TracChangeset for help on using the changeset viewer.