Ignore:
Timestamp:
2 Nov 2013, 08:50:58 (11 years ago)
Author:
Henrik Bettermann
Message:

We do not need IFacultyAdd. A simple omit('code') does the same job.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r10676 r10684  
    4646    KofaDisplayFormPage, NullValidator)
    4747from waeup.kofa.browser.interfaces import (
    48     IUniversity, IFacultiesContainer, IFaculty, IFacultyAdd,
     48    IUniversity, IFacultiesContainer, IFaculty,
    4949    IDepartment, IDepartmentAdd, ICourse, ICourseAdd, ICertificate,
    5050    ICertificateAdd, ICertificateCourse, ICertificateCourseAdd,
     
    17481748    grok.name('add')
    17491749    label = _('Add faculty')
    1750     form_fields = grok.AutoFields(IFacultyAdd)
     1750    form_fields = grok.AutoFields(IFaculty)
    17511751    pnav = 1
    17521752
     
    18001800    tabthreeactions2 = [_('Add local role')]
    18011801
    1802     form_fields = grok.AutoFields(IFaculty)
     1802    form_fields = grok.AutoFields(IFaculty).omit('code')
    18031803
    18041804    @property
Note: See TracChangeset for help on using the changeset viewer.