Changeset 15791
- Timestamp:
- 10 Nov 2019, 19:54:03 (5 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py
r15740 r15791 603 603 ) 604 604 605 sex = schema.Choice( 606 title = _(u'Gender'), 607 source = GenderSource(), 608 required = True, 609 ) 610 605 611 place_of_birth = schema.TextLine( 606 612 title = _(u'Place of Birth'), … … 754 760 #date_format = u'%d/%m/%Y', # Use grok-instance-wide default 755 761 show_year = True, 762 ) 763 764 sex = schema.Choice( 765 title = _(u'Gender'), 766 source = GenderSource(), 767 required = True, 756 768 ) 757 769 … … 852 864 ) 853 865 866 sex = schema.Choice( 867 title = _(u'Gender'), 868 source = GenderSource(), 869 required = True, 870 ) 871 854 872 email = schema.ASCIILine( 855 873 title = _(u'Email Address'), … … 909 927 lastname = schema.TextLine( 910 928 title = _(u'Last Name (Surname)'), 929 required = True, 930 ) 931 932 sex = schema.Choice( 933 title = _(u'Gender'), 934 source = GenderSource(), 911 935 required = True, 912 936 ) -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py
r15530 r15791 286 286 self.browser.getControl(name="form.firstname").value = 'Angela' 287 287 self.browser.getControl(name="form.lastname").value = 'Merkel' 288 self.browser.getControl(name="form.sex").value = ['f'] 288 289 self.browser.getControl(name="form.no_copies").value = ['3'] 289 290 self.browser.getControl(name="form.course_studied").value = ['CERT1']
Note: See TracChangeset for help on using the changeset viewer.