source: WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.pt @ 769

Last change on this file since 769 was 769, checked in by joachim, 18 years ago

added clearance_edit, which uses student_clearance_fe

File size: 1.7 KB
Line 
1<tal:block define="
2           info context/getStudentInfo;
3           res python:info['clear_doc'].renderEditDetailed(request=request,
4                                                      schema_id='student_clearance',
5                                                      layout_id='student_clearance_fe',
6                                                      layout_mode='edit',);
7           rendered_main python: res[0];
8           form_action string:clearance_edit;
9           edition python:True;
10           metadata nothing;
11    ">
12<metal:block define-macro="edit_form">
13<metal:block use-macro="here/content_lib_master/macros/master">
14
15
16  <metal:block fill-slot="header">
17    <h3>
18      <tal:block condition="python: edition and not metadata"
19        i18n:translate="">Edit <span id="page_title" i18n:name="title"
20        tal:content="here/title_or_id">Page Title</span></tal:block>
21    </h3>
22  </metal:block>
23
24  <metal:block fill-slot="main">
25    <form action="ACTION" method="post" id="editForm"
26          enctype="multipart/form-data" class="workflow"
27          tal:attributes="action form_action">
28      <div class="group">
29        <div class="documentFields">
30          <tal:block define="getFormUidHtml nocall:modules/Products.CPSDocument.utils/getFormUidHtml"
31                     replace="structure python:getFormUidHtml(request)"/>
32         
33          <input type="hidden" id="button_placeholder" name="button_placeholder" value="" />
34          <div id="rendered_main" tal:content="structure rendered_main">
35            CONTENT
36          </div>
37        </div>
38         
39               
40      </div>
41    </form>
42  </metal:block>
43
44</metal:block>
45</metal:block>
46</tal:block>
Note: See TracBrowser for help on using the repository browser.