Index: WAeUP_SRP/trunk/Widgets.py
===================================================================
--- WAeUP_SRP/trunk/Widgets.py	(revision 512)
+++ WAeUP_SRP/trunk/Widgets.py	(revision 513)
@@ -312,5 +312,4 @@
         b = datastructure[widget_id+'_b'].strip()
         n = datastructure[widget_id+'_n'].strip()
-        #import pdb; pdb.set_trace()
         pins = self.portal_pins
         pin = "%(p)s%(b)s%(n)s" % vars()
@@ -331,8 +330,11 @@
                     break
                 s_id = student.getId()
+                if self.portal_workflow.getInfoFor(student,
+                                                   'review_state',
+                                                   None) =="created":
+                    student.content_status_modify(workflow_action="enter_application_pin")
                 if ok == 2:
                     break
                 student.getContent().makeStudentMember(s_id,password=pin[4:])
-                #student.getContent().createSubObjects()
             break
         if err:
Index: WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt	(revision 512)
+++ WAeUP_SRP/trunk/skins/waeup_student/application_slip.pt	(revision 513)
@@ -22,5 +22,9 @@
       <table cellpadding="10em" cellspacing="">
       <tr>
-      <td valign="top"><span tal:content="here/downloadFile/passport" /></td>
+      <td valign="top">
+        <img tal:condition="application_data/passport|nothing" 
+             tal:attributes="src string:${context/absolute_url}/passport"/>
+            </td>
+
       <td>
       
