Changeset 6040


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

Enable datepicker for applicant date of birth.

File:
1 edited

Legend:

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

    r6037 r6040  
    378378    form_fields = grok.AutoFields(IApplicantPDEEditData).omit('locked')
    379379    form_fields['passport'].custom_widget = EncodingImageFileWidget
     380    form_fields['date_of_birth'].custom_widget = FriendlyDateWidget
    380381    grok.template('form_edit_pde')
    381382
     
    389390            self.emitLockMessage()
    390391            return
     392        datepicker.need() # Enable jQuery datepicker in date fields.
    391393        super(EditApplicantStudent, self).update()
    392394        return
Note: See TracChangeset for help on using the changeset viewer.