Ignore:
Timestamp:
5 Jul 2012, 20:13:52 (12 years ago)
Author:
Henrik Bettermann
Message:

Do not show hint (field description) on display form pages by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/layout.py

    r8736 r8922  
    192192    grok.baseclass()
    193193    template = default_waeup_display_template
     194    hide_hint = True
    194195
    195196class KofaEditFormPage(UtilityView,EditForm):
     
    216217        if self.widgets.get('perm_address'):
    217218            self.widgets['perm_address'].cssClass = 'span8'
    218             self.widgets['perm_address'].height = 10
     219            self.widgets['perm_address'].height = 6
     220        if self.widgets.get('next_kin_address'):
     221            self.widgets['next_kin_address'].cssClass = 'span8'
     222            self.widgets['next_kin_address'].height = 6
    219223        if self.widgets.get('description'):
    220224            self.widgets['description'].cssClass = 'span12'
Note: See TracChangeset for help on using the changeset viewer.