Changeset 478 for WAeUP_SRP/trunk/skins/waeup_student/application_form.pt
- Timestamp:
- 4 Sep 2006, 13:03:08 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/application_form.pt
r477 r478 10 10 </metal:block> 11 11 12 <metal:block fill-slot="main" 13 tal:define="roles member/getRoles; 14 frontend python:'Student' in roles or isAnon; 15 folder here/getContent;" 16 > 12 <metal:block fill-slot="main"> 17 13 18 14 <tal:block tal:condition="python:context.portal_type == 'Student'" tal:omit-tag=""> 19 15 <tal:block tal:define=" 20 appl python:here.application;21 appl_proxy python:appl.getContent();"16 rendered python:context.application.getContent().renderEdit(layout_id='student_application_fe', 17 layout_mode='edit');" 22 18 > 23 19 24 <h2>Application Form for <span tal:content="appl_proxy/jamb_firstname" /> <span tal:content="appl_proxy/jamb_lastname" /></h2>25 20 26 <tal:block tal:content="structure python:appl_proxy.renderEdit(request=request, layout_id='student_application_fe', proxy=appl_proxy, layout_mode='edit')" /> 27 28 <tal:block tal:content="structure python:appl_proxy.renderEdit(layout_id='student_application_fe', layout_mode='view')" /> 29 30 <tal:block tal:content="structure python:appl_proxy.render(layout_id='student_application_fe')" /> 21 <tal:block tal:content="structure rendered" /> 31 22 32 23 </tal:block> … … 34 25 <tal:block condition="python:context.portal_type != 'Student'"> 35 26 36 This is not a student object! 27 This is not a student object 28 37 29 38 30 </tal:block>
Note: See TracChangeset for help on using the changeset viewer.