- Timestamp:
- 10 Jun 2011, 20:25:38 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/vocabularies.py
r6256 r6340 75 75 class GenderSource(BasicSourceFactory): 76 76 """A gender source delivers basically a mapping 77 ``{'m': ' male', 'f': 'female'}``77 ``{'m': 'Male', 'f': 'Female'}`` 78 78 79 79 Using a source, we make sure that the tokens (which are … … 89 89 def getTitle(self, value): 90 90 if value == 'm': 91 return ' male'91 return 'Male' 92 92 if value == 'f': 93 return ' female'93 return 'Female'
Note: See TracChangeset for help on using the changeset viewer.