Ignore:
Timestamp:
11 Jan 2007, 21:00:45 (18 years ago)
Author:
Henrik Bettermann
Message:

personal_edit_form slimmed down

File:
1 edited

Legend:

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

    r1167 r1276  
    1 <metal:html tal:define="info context/getPersonalInfo">
    2   <span tal:condition="not: info">
    3     <span tal:content="here/illegal_view" />
    4   </span>
    5 <metal:block tal:condition="info">
    6 <metal:block tal:define="rendered_main python:info['per_doc'].render(
    7                       layout_mode='edit',
    8                       schema_id = 'student_personal',
    9                       layout_id = 'student_personal_fe',
    10                       request=request,
    11                       use_session=True,);
    12            form_action string:personal_edit;
    13            edition python:True;
    14            metadata nothing;
    15             ">
    16   <metal:body use-macro="here/waeup_content_master/macros/master">
    17     <metal:block fill-slot="header">
     1<metal:body use-macro="here/waeup_content_master/macros/master">
     2    <metal:block fill-slot="header"
     3                  tal:define="info context/getPersonalInfo">
    184      <a href=""
    195         tal:attributes="href string:${here/academicsParent}">
     
    2511    </metal:block> 
    2612 
    27     <metal:main fill-slot="main">
     13    <metal:main fill-slot="main"
     14                  tal:define="info context/getPersonalInfo;
     15                              rendered_main python:info['per_doc'].render(
     16                              layout_mode='edit',
     17                              schema_id = 'student_personal',
     18                              layout_id = 'student_personal_fe',
     19                              request=request,
     20                              use_session=True,);
     21           form_action string:personal_edit;
     22           edition python:True;
     23           metadata nothing;
     24            ">
    2825    <form action="ACTION" method="post" id="editForm"
    2926          enctype="multipart/form-data" class="workflow"
     
    4138    </form>
    4239    </metal:main>
    43   </metal:body>
    44 </metal:block>
    45 </metal:block>
    46 </metal:html>
     40</metal:body>
     41
Note: See TracChangeset for help on using the changeset viewer.