Ignore:
Timestamp:
2 Dec 2013, 16:30:42 (11 years ago)
Author:
Henrik Bettermann
Message:

Customize application slip.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/applicants/browser.py

    r10800 r10823  
    2121from hurry.workflow.interfaces import IWorkflowState
    2222from zope.formlib.textwidgets import BytesDisplayWidget
     23from waeup.kofa.widgets.datewidget import (
     24    FriendlyDateDisplayWidget, FriendlyDateDisplayWidget,)
    2325from waeup.kofa.applicants.browser import (
    2426    ApplicantRegistrationPage, ApplicantsContainerPage)
     
    8385    """Bypass NigeriaPDFApplicationSlip
    8486    """
     87
     88    form_fields =  grok.AutoFields(ICustomApplicant).omit(
     89        'locked', 'course_admitted', 'suspended', 'sex', 'course2'
     90        )
     91    form_fields['date_of_birth'].custom_widget = FriendlyDateDisplayWidget('le')
Note: See TracChangeset for help on using the changeset viewer.