Changeset 2146 for WAeUP_SRP/trunk/skins/waeup_student/apply_pume.py
- Timestamp:
- 22 Aug 2007, 13:05:07 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/apply_pume.py
r2141 r2146 63 63 mode = "view_slip" 64 64 logger.info('%s views application slip' % (reg_no)) 65 66 65 res,psm,ds = lt.renderLayout(layout_id= 'application', 67 66 schema_id= 'application', … … 98 97 data = {} 99 98 dm = ds.getDataModel() 100 #set_trace()101 99 for field in context.applicants_catalog.schema(): 102 100 if dm.has_key("%s" % field): 103 101 data[field] = dm.get(field) 104 102 data['reg_no'] = reg_no 105 #set_trace()106 103 if apply_pume: 107 104 if submitted: … … 159 156 ) 160 157 elif edit: 161 #set_trace()162 158 if submitted: 163 159 mode = "view" … … 180 176 181 177 182 183 178 return context.apply_pume_form(rendered = res, 184 179 psm = psm, 185 180 #psm = "%s, %s" % (psm,ds), 186 181 mode = mode, 182 show_submit = bool(data['passport']), 187 183 ds = ds, 188 184 )
Note: See TracChangeset for help on using the changeset viewer.