Ignore:
Timestamp:
21 Dec 2011, 11:38:00 (13 years ago)
Author:
Henrik Bettermann
Message:

Using the phone widget lead to an error in tests but not in the UI. I don't understand why.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r7407 r7423  
    768768    form_fields['student_id'].for_display = True
    769769    form_fields['applicant_id'].for_display = True
     770    form_fields['phone'].custom_widget = PhoneWidget
    770771    grok.template('applicanteditpage')
    771772    manage_applications = True
     
    900901        )
    901902    form_fields['date_of_birth'].custom_widget = FriendlyDateWidget('le-year')
    902     #form_fields['phone'].custom_widget = PhoneWidget
    903903    grok.template('applicanteditpage')
    904904    manage_applications = False
Note: See TracChangeset for help on using the changeset viewer.