Changeset 10819


Ignore:
Timestamp:
29 Nov 2013, 13:44:55 (11 years ago)
Author:
Henrik Bettermann
Message:

Add sex field to edit form page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/browser.py

    r10711 r10819  
    4242    NigeriaStudentPersonalDisplayFormPage,
    4343    NigeriaStudentPersonalEditFormPage,
    44     NigeriaStudentPersonalManageFormPage
     44    NigeriaStudentPersonalManageFormPage,
     45    NigeriaStudentBaseEditFormPage
    4546    )
    4647
     
    5051    ICustomStudentPersonalEdit
    5152    )
     53
     54class CustomStudentBaseEditFormPage(NigeriaStudentBaseEditFormPage):
     55    """ View to edit student base data
     56    """
     57    form_fields = grok.AutoFields(ICustomStudentBase).select(
     58        'email', 'phone', 'sex')
    5259
    5360class CustomStudentPersonalDisplayFormPage(NigeriaStudentPersonalDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.