Changeset 9414 for main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser.py
- Timestamp:
- 25 Oct 2012, 09:44:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser.py
r9217 r9414 37 37 from waeup.kofa.hostels.hostel import Hostel 38 38 from waeup.kofa.hostels.interfaces import ( 39 IHostelsContainer, IHostel, IBed , IBedAllocateStudent)39 IHostelsContainer, IHostel, IBed) 40 40 from waeup.kofa.widgets.datewidget import FriendlyDatetimeDisplayWidget 41 41 … … 350 350 """ View to edit bed data 351 351 """ 352 grok.context(IBed AllocateStudent)352 grok.context(IBed) 353 353 grok.name('index') 354 354 grok.require('waeup.manageHostels') 355 form_fields = grok.AutoFields(IBed AllocateStudent).omit(355 form_fields = grok.AutoFields(IBed).omit( 356 356 'bed_id', 'bed_number', 'bed_type') 357 357 label = _('Allocate student')
Note: See TracChangeset for help on using the changeset viewer.