- Timestamp:
- 22 Nov 2011, 10:03:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r7162 r7164 300 300 grok.name('manage') 301 301 grok.template('usereditformpage') 302 grok.require('waeup.manageUsers') 302 303 303 304 form_fields = grok.AutoFields(IUserAccount).omit('name') 304 grok.require('waeup.manageUsers')305 305 306 306 title = "Portal Users" … … 331 331 self.redirect(self.url(self.context.__parent__)) 332 332 return 333 334 class UserManageEditPage(UserManageFormPage): 335 """Edit a user account. 336 """ 337 grok.name('index') 338 grok.require('waeup.editUser') 339 form_fields = grok.AutoFields(IUserAccount).omit('name', 'roles') 340 341 def label(self): 342 return "My preferences (username = %s)" % self.context.__name__ 333 343 334 344 #
Note: See TracChangeset for help on using the changeset viewer.