Index: WAeUP_SRP/base/skins/waeup_student/apply_pume.py
===================================================================
--- WAeUP_SRP/base/skins/waeup_student/apply_pume.py	(revision 2306)
+++ WAeUP_SRP/base/skins/waeup_student/apply_pume.py	(revision 2307)
@@ -48,5 +48,11 @@
 if manage:
     validate = False
-
+layout = "application"
+prence = ""
+without_reg_no = False
+if traverse_subpath and traverse_subpath[0] == "prence":
+    layout = "application_prence"
+    prence = "prence"
+    without_reg_no = True
 lt = context.portal_layouts
 reg_no = request.get('widget__reg_no','').upper()
@@ -81,5 +87,5 @@
     logger.info('%s/%s views application slip' % (member,reg_no))
 
-res,psm,ds = lt.renderLayout(layout_id= 'application',
+res,psm,ds = lt.renderLayout(layout_id= layout,
                              schema_id= 'application',
                              layout_mode = mode,
@@ -96,4 +102,5 @@
                                    mode = mode,
                                    ds = ds,
+                                   prence = prence,
                                   )
 
@@ -104,4 +111,5 @@
                                    mode = mode,
                                    ds = ds,
+                                   prence = prence,
                                   )
 elif psm == '' and not manage:
@@ -110,7 +118,10 @@
                                    ds = ds,
                                    mode = mode,
+                                   prence = prence,
                                   )
 elif psm == 'valid' or (psm == '' and manage):
     pass
+if without_reg_no:
+    reg_no = ds.get('reg_no')
 data = {}
 dm = ds.getDataModel()
@@ -120,6 +131,4 @@
 data['reg_no'] = reg_no
 
-
-
 if apply_pume:
     if submitted:
@@ -127,5 +136,5 @@
         psm = "The form has already been submitted and you are not allowed to resubmit the data!"
         logger.info('%s/%s tried to resubmit application record' % (member,reg_no))
-        res,psm_dummy,ds_dummy = lt.renderLayout(layout_id= 'application',
+        res,psm_dummy,ds_dummy = lt.renderLayout(layout_id= layout,
                                 schema_id= 'application',
                                 layout_mode = mode,
@@ -152,5 +161,5 @@
         context.applicants_catalog.modifyRecord(**data)
 
-        res,psm_dummy,ds = lt.renderLayout(layout_id= 'application',
+        res,psm_dummy,ds = lt.renderLayout(layout_id= layout,
                                 schema_id= 'application',
                                 layout_mode = mode,
@@ -169,6 +178,8 @@
     psm = ""
     #set_trace()
+    if without_reg_no:
+        object['reg_no'] = reg_no
     object['pin'] = str(ds.get('pin'))
-    res,psm,ds_dummy = lt.renderLayout(layout_id= 'application',
+    res,psm,ds_dummy = lt.renderLayout(layout_id= layout,
                                 schema_id= 'application',
                                 layout_mode = mode,
@@ -183,5 +194,5 @@
         psm = "The form has already been submitted and you are not allowed to modify the data!"
         logger.info('%s/%s tried to edit submitted application record' % (member,reg_no))
-        res,psm_dummy,ds_dummy = lt.renderLayout(layout_id= 'application',
+        res,psm_dummy,ds_dummy = lt.renderLayout(layout_id= layout,
                                 schema_id= 'application',
                                 layout_mode = mode,
@@ -203,5 +214,5 @@
         psm = "You are now assuming the applicant's role!"
         logger.info('%s/%s entered application record' % (member,reg_no))
-        res,psm_dummy,ds_dummy = lt.renderLayout(layout_id= 'application',
+        res,psm_dummy,ds_dummy = lt.renderLayout(layout_id= layout,
                                 schema_id= 'application',
                                 layout_mode = mode,
@@ -223,10 +234,11 @@
 
 return context.apply_pume_form(rendered = res,
-                            psm = psm,
-                            #psm = "%s, %s" % (psm,ds),
-                            mode = mode,
-                            show_submit = passport_uploaded,
-                            ds = ds,
-                            )
-
-
+                               psm = psm,
+                               #psm = "%s, %s" % (psm,ds),
+                               mode = mode,
+                               show_submit = passport_uploaded,
+                               ds = ds,
+                               prence = prence,
+                              )
+
+
Index: WAeUP_SRP/base/skins/waeup_student/apply_pume_form.pt
===================================================================
--- WAeUP_SRP/base/skins/waeup_student/apply_pume_form.pt	(revision 2306)
+++ WAeUP_SRP/base/skins/waeup_student/apply_pume_form.pt	(revision 2307)
@@ -15,5 +15,5 @@
         <form action="" id="editForm" method="post" 
               enctype="multipart/form-data" class="workflow"
-              tal:attributes="action string:${context/absolute_url}/apply_pume"
+              tal:attributes="action string:${context/absolute_url}/apply_pume/${options/prence}"
               >
           <input type="hidden" name="reg_no"
