Changeset 18157


Ignore:
Timestamp:
18 Aug 2025, 07:33:16 (4 hours ago)
Author:
Henrik Bettermann
Message:

Use correct interface when adding applicants.

File:
1 edited

Legend:

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

    r18156 r18157  
    1 ## $Id$
     1    ## $Id$
    22##
    33## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
     
    2525from waeup.kofa.applicants.viewlets import (
    2626    PaymentReceiptActionButton, PDFActionButton)
     27from waeup.kofa.applicants.browser import ApplicantAddFormPage
    2728from waeup.kofa.applicants.pdf import PDFApplicationSlip
    2829from waeup.kofa.interfaces import IKofaUtils
     
    4546    )
    4647from waeup.fceokene.applicants.interfaces import (
     48    ICustomApplicant,
    4749    ICustomUGApplicant,
    4850    ICustomUGApplicantEdit,
     
    305307                'firstname', 'middlename', 'lastname', 'email', 'phone')
    306308        return form_fields
     309
     310class CustomApplicantAddFormPage(ApplicantAddFormPage):
     311    """Add-form to add an applicant.
     312    """
     313    form_fields = grok.AutoFields(ICustomApplicant).select(
     314        'firstname', 'middlename', 'lastname',
     315        'email', 'phone')
Note: See TracChangeset for help on using the changeset viewer.