Ignore:
Timestamp:
4 Sep 2006, 13:03:08 (18 years ago)
Author:
joachim
Message:

apply_admission basics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/application_form.pt

    r477 r478  
    1010  </metal:block>
    1111
    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">
    1713
    1814    <tal:block tal:condition="python:context.portal_type == 'Student'" tal:omit-tag=""> 
    1915      <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');"
    2218                          >
    2319
    24       <h2>Application Form for <span tal:content="appl_proxy/jamb_firstname" /> <span tal:content="appl_proxy/jamb_lastname" /></h2>     
    2520   
    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" />
    3122
    3223      </tal:block> 
     
    3425    <tal:block condition="python:context.portal_type != 'Student'">
    3526   
    36       This is not a student object!
     27      This is not a student object
     28     
    3729   
    3830    </tal:block> 
Note: See TracChangeset for help on using the changeset viewer.