Changeset 4454
- Timestamp:
- 27 Jul 2009, 23:59:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/university/coursecontainer.py
r4452 r4454 39 39 return implementedBy(CourseContainer) 40 40 41 class DisplayForm(grok.DisplayForm):42 grok.context(ICourseContainer)43 form_fields = grok.AutoFields(ICourseContainer)44 45 46 class Content(FormWrapMixin, grok.Viewlet):47 """A viewlet that wraps the `AddDepartmentForm`.48 """49 grok.viewletmanager(MainArea)50 grok.context(ICourseContainer)51 grok.view(Index)52 grok.require('waeup.manageUniversity')53 54 formview_name = 'displayform' # The name of the formview we want55 # to be rendered in this viewlet.56 41 57 42 class ManageForm(grok.EditForm):
Note: See TracChangeset for help on using the changeset viewer.