Changeset 8365
- Timestamp:
- 5 May 2012, 15:45:47 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r8314 r8365 57 57 FriendlyDateDisplayWidget, FriendlyDateDisplayWidget, 58 58 FriendlyDatetimeDisplayWidget) 59 from waeup.kofa.widgets. restwidget import ReSTDisplayWidget59 from waeup.kofa.widgets.htmlwidget import HTMLDisplayWidget 60 60 61 61 grok.context(IKofaObject) # Make IKofaObject the default context … … 225 225 226 226 form_fields = grok.AutoFields(IApplicantsContainer).omit('title') 227 form_fields['description'].custom_widget = ReSTDisplayWidget227 form_fields['description'].custom_widget = HTMLDisplayWidget 228 228 form_fields[ 229 229 'startdate'].custom_widget = FriendlyDatetimeDisplayWidget('le') -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
r8311 r8365 203 203 204 204 description = schema.Text( 205 title = _(u'Human readable description in reSTformat'),205 title = _(u'Human readable description in HTML format'), 206 206 required = False, 207 207 default = u'''This text can been seen by anonymous users.
Note: See TracChangeset for help on using the changeset viewer.