Changeset 6041


Ignore:
Timestamp:
11 May 2011, 00:13:36 (14 years ago)
Author:
uli
Message:

Enable datepicker for full applicant form.

File:
1 edited

Legend:

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

    r6040 r6041  
    446446    form_fields = grok.AutoFields(IApplicantPDEEditData).omit('locked')
    447447    form_fields['passport'].custom_widget = EncodingImageFileWidget
     448    form_fields['date_of_birth'].custom_widget = FriendlyDateWidget
    448449    grok.template('form_edit_full')
    449450
     
    452453            self.emitLockMessage()
    453454            return
     455        datepicker.need() # Enable jQuery datepicker in date fields.
    454456        super(EditApplicantFull, self).update()
    455457        return
Note: See TracChangeset for help on using the changeset viewer.