Changeset 7780


Ignore:
Timestamp:
7 Mar 2012, 18:02:41 (13 years ago)
Author:
uli
Message:

Clean up. No need for special setup of school grade attributes any more.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/applicants/browser.py

    r7771 r7780  
    638638    return True
    639639
    640 from waeup.sirp.applicants.interfaces import IResultEntry
    641 from waeup.sirp.widgets.objectwidget import SIRPObjectWidget
    642 from waeup.sirp.applicants.applicant import ResultEntry
    643 from zope.formlib.widget import CustomWidgetFactory
    644 from zope.formlib.widgets import ListSequenceWidget
    645 entry_widget = CustomWidgetFactory(SIRPObjectWidget, ResultEntry)
    646 sw = CustomWidgetFactory(ListSequenceWidget, subwidget=entry_widget)
    647 
    648640class ApplicantManageFormPage(SIRPEditFormPage):
    649641    """A full edit view for applicant data.
     
    657649    form_fields['applicant_id'].for_display = True
    658650    form_fields['phone'].custom_widget = PhoneWidget
    659     #form_fields['school_grades'].custom_widget = sw
    660651    grok.template('applicanteditpage')
    661652    manage_applications = True
     
    789780    form_fields['phone'].custom_widget = PhoneWidget
    790781    form_fields['applicant_id'].for_display = True
    791     #form_fields['school_grades'].custom_widget = sw
    792782    grok.template('applicanteditpage')
    793783    manage_applications = False
Note: See TracChangeset for help on using the changeset viewer.