Changeset 5041


Ignore:
Timestamp:
27 Feb 2010, 17:49:33 (15 years ago)
Author:
Henrik Bettermann
Message:

add TRUE and FALSE to Sex Widget

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Widgets.py

    r5032 r5041  
    10241024            self.render_format = 'select'
    10251025
    1026         female = value in ('F','f','Female','female','True','true',True)
    1027         male = value in ('M','m','Male','male','False','false',False)
     1026        female = value in ('F','f','Female','female','True','true','TRUE',True)
     1027        male = value in ('M','m','Male','male','False','false','FALSE',False)
    10281028        if not female and not male:
    10291029            datastructure.setError(self.getWidgetId(),
Note: See TracChangeset for help on using the changeset viewer.