Changeset 8187 for main/waeup.uniben/trunk/src/waeup/uniben/students
- Timestamp:
- 17 Apr 2012, 06:58:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r8184 r8187 32 32 ) 33 33 from waeup.uniben.interfaces import MessageFactory as _ 34 from waeup.uniben.widgets.phonewidget import PhoneWidget35 34 36 35 class RequestCallbackActionButton(RequestCallbackActionButton): … … 51 50 """ 52 51 form_fields = grok.AutoFields(IStudentBase).omit('student_id') 53 form_fields['phone'].custom_widget = PhoneWidget54 52 55 53 class StudentBaseEditFormPage(StudentBaseEditFormPage): … … 58 56 form_fields = grok.AutoFields(IStudentBase).select( 59 57 'email', 'phone') 60 form_fields['phone'].custom_widget = PhoneWidget61 58 62 59
Note: See TracChangeset for help on using the changeset viewer.