Ignore:
Timestamp:
16 Apr 2012, 09:16:34 (13 years ago)
Author:
uli
Message:

Use PhoneNumber?.

File:
1 edited

Legend:

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

    r8079 r8176  
    6161from waeup.kofa.authentication import LocalRoleSetEvent
    6262from waeup.kofa.widgets.restwidget import ReSTDisplayWidget
    63 from waeup.kofa.widgets.phonewidget import PhoneWidget
    6463from waeup.kofa.authentication import get_principal_role_manager
    6564from waeup.kofa.utils.helpers import get_user_account
     
    430429    grok.template('usereditformpage')
    431430    form_fields = grok.AutoFields(IUserAccount)
    432     form_fields['phone'].custom_widget = PhoneWidget
    433431    label = _('Add user')
    434432
     
    471469    grok.require('waeup.manageUsers')
    472470    form_fields = grok.AutoFields(IUserAccount).omit('name')
    473     form_fields['phone'].custom_widget = PhoneWidget
    474471
    475472    def label(self):
     
    552549        'name', 'description', 'roles')
    553550    label = _(u"My Preferences")
    554     form_fields['phone'].custom_widget = PhoneWidget
    555551
    556552    def setUpWidgets(self, ignore_request=False):
Note: See TracChangeset for help on using the changeset viewer.