source: WAeUP_SRP/branches/joachim-azax-branch/skins/waeup_student/course_edit_form.pt @ 9821

Last change on this file since 9821 was 1861, checked in by Henrik Bettermann, 17 years ago

ticket #200
ticket #243

File size: 1.5 KB
Line 
1<metal:body use-macro="here/slip_template/macros/master">
2
3    <metal:main fill-slot="main"
4                  tal:define="info context/getCourseResultInfo;">
5      <metal:block tal:condition="not: info">
6        <span tal:content="here/illegal_view" />
7      </metal:block>
8      <metal:block tal:condition="info">
9      <metal:block tal:define="rendered_main python:info['course_doc'].render(
10                              layout_mode='edit',
11                              schema_id = 'student_course_result',
12                              layout_id = 'student_course_result_fe',
13                              request=request,
14                              use_session=True,);
15           form_action string:course_edit;
16           edition python:True;
17           metadata nothing;
18            ">
19    <h3>Update Your Course <span tal:content='here/id' /> </h3>
20    <br />           
21           
22    <form action="ACTION" method="post" id="editForm"
23          enctype="multipart/form-data" class="workflow"
24          tal:attributes="action form_action">
25      <span tal:condition="not: info">
26        <metal:block use-macro="here/error_not_found/macros/not_found" />
27      </span>
28      <span tal:condition="info">
29        <span tal:omit-tag="" tal:replace="structure rendered_main"/>
30      </span>
31      <br/>
32      <input type="submit" class="standalone"
33             name="cpsdocument_edit_button"
34             value="Save"
35             id="cpsdocument_edit_button"/>
36    </form>
37    </metal:block>
38    </metal:block>   
39    </metal:main>
40</metal:body>
41
Note: See TracBrowser for help on using the repository browser.