Changeset 8365


Ignore:
Timestamp:
5 May 2012, 15:45:47 (13 years ago)
Author:
Henrik Bettermann
Message:

Use HTMLDisplayWidget for description of ApplicantsContainers?.

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  
    5757    FriendlyDateDisplayWidget, FriendlyDateDisplayWidget,
    5858    FriendlyDatetimeDisplayWidget)
    59 from waeup.kofa.widgets.restwidget import ReSTDisplayWidget
     59from waeup.kofa.widgets.htmlwidget import HTMLDisplayWidget
    6060
    6161grok.context(IKofaObject) # Make IKofaObject the default context
     
    225225
    226226    form_fields = grok.AutoFields(IApplicantsContainer).omit('title')
    227     form_fields['description'].custom_widget = ReSTDisplayWidget
     227    form_fields['description'].custom_widget = HTMLDisplayWidget
    228228    form_fields[
    229229        'startdate'].custom_widget = FriendlyDatetimeDisplayWidget('le')
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r8311 r8365  
    203203
    204204    description = schema.Text(
    205         title = _(u'Human readable description in reST format'),
     205        title = _(u'Human readable description in HTML format'),
    206206        required = False,
    207207        default = u'''This text can been seen by anonymous users.
Note: See TracChangeset for help on using the changeset viewer.