Changeset 13819
- Timestamp:
- 8 Apr 2016, 15:54:59 (9 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py
r13814 r13819 104 104 ) 105 105 106 #matric_number = schema.TextLine( 107 # title = _(u'Matriculation Number'), 108 # readonly = False, 109 # required = False, 110 # ) 111 112 date_of_birth = FormattedDate( 113 title = _(u'Date of Birth'), 114 required = False, 115 #date_format = u'%d/%m/%Y', # Use grok-instance-wide default 116 show_year = True, 117 ) 118 119 place_of_birth = schema.TextLine( 120 title = _(u'Place of Birth'), 121 readonly = False, 122 required = False, 106 sex = schema.Choice( 107 title = _(u'Sex'), 108 source = GenderSource(), 109 required = True, 123 110 ) 124 111 … … 141 128 ) 142 129 143 perm_address = schema.Text( 144 title = _(u'Current Local Address'), 130 #perm_address = schema.Text( 131 # title = _(u'Current Local Address'), 132 # required = False, 133 # readonly = False, 134 # ) 135 136 institution = schema.TextLine( 137 title = _(u'Institution/Organisation'), 138 required = False, 139 readonly = False, 140 ) 141 142 lga = schema.Choice( 143 source = LGASource(), 144 title = _(u'State/LGA'), 145 required = False, 146 ) 147 148 city = schema.TextLine( 149 title = _(u'City'), 145 150 required = False, 146 151 readonly = False, -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py
r13816 r13819 243 243 self.browser.getControl(name="form.middlename").value = 'Anthony' 244 244 self.browser.getControl(name="form.lastname").value = 'Tester' 245 self.browser.getControl(name="form.date_of_birth").value = '09/09/1988'246 #self.browser.getControl(name="form.sex").value = ['m']245 #self.browser.getControl(name="form.date_of_birth").value = '09/09/1988' 246 self.browser.getControl(name="form.sex").value = ['m'] 247 247 self.browser.getControl(name="form.email").value = 'xx@yy.zz' 248 248 image = open(SAMPLE_IMAGE, 'rb') -
main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py
r13816 r13819 82 82 'admission_checking': 'Admission Checking Fee', 83 83 'jupeb': 'JUPEB Examination Fee', 84 'registration': ' Registration Fee'84 'registration': 'Total Registration Fee' 85 85 } 86 86
Note: See TracChangeset for help on using the changeset viewer.