Changeset 7197 for main/waeup.sirp/trunk/src/waeup/sirp/browser
- Timestamp:
- 25 Nov 2011, 08:32:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r7195 r7197 348 348 return "Edit user %s" % self.context.__name__ 349 349 350 def setUpWidgets(self, ignore_request=False): 351 super(UserManageFormPage,self).setUpWidgets(ignore_request) 352 self.widgets['title'].displayWidth = 30 353 self.widgets['description'].height = 3 354 350 355 @grok.action('Save') 351 356 def save(self, **data): … … 376 381 grok.name('index') 377 382 grok.require('waeup.editUser') 378 form_fields = grok.AutoFields(IUserAccount).omit('name', 'roles') 383 form_fields = grok.AutoFields(IUserAccount).omit( 384 'name', 'description', 'roles') 379 385 label = u"My Preferences" 386 387 def setUpWidgets(self, ignore_request=False): 388 super(UserManageFormPage,self).setUpWidgets(ignore_request) 389 self.widgets['title'].displayWidth = 30 380 390 381 391 def title(self):
Note: See TracChangeset for help on using the changeset viewer.