Ignore:
Timestamp:
1 Sep 2006, 10:33:30 (18 years ago)
Author:
joachim
Message:

added missing layout student_check_pin
added validation for JAMB reg_no

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/request_admission.py

    r461 r463  
    4747    if len(search) < 1:
    4848        psm = "No JAMB record %s" % (jamb_id)
    49         return context.check_admission_form(rendered = res,
     49        return context.request_admission_form(rendered = res,
    5050                                 psm = psm,
    5151                                 ds = ds,
     
    5555return student.acknowledge_slip()
    5656
    57 jamb = getattr(student,'admission')
    58 res = jamb.getContent().render(layout_id = 'admission_slip',
    59                                layout_mode = 'view',
    60                                schema_id = 'jamb')
    6157
    62 return context.admission_slip_form(rendered = res, dict = ds)
    63 
Note: See TracChangeset for help on using the changeset viewer.