1 | <tal:block define=" |
---|
2 | info context/getStudentInfo; |
---|
3 | rendered_main python:info['clear_doc'].render(request=request, |
---|
4 | layout_mode = 'edit', |
---|
5 | schema_id='student_clearance', |
---|
6 | layout_id='student_clearance_fe', |
---|
7 | layout_mode='edit', |
---|
8 | use_session=True); |
---|
9 | form_action string:clearance_edit; |
---|
10 | edition python:True; |
---|
11 | creation python:False; |
---|
12 | metadata nothing; |
---|
13 | "> |
---|
14 | <metal:block define-macro="edit_form"> |
---|
15 | <metal:block use-macro="here/waeup_content_master/macros/master"> |
---|
16 | <metal:block fill-slot="style_slot"> |
---|
17 | <link rel="Stylesheet" type="text/css" href="" |
---|
18 | tal:attributes="href string:${base_url}document.css" /> |
---|
19 | |
---|
20 | <metal:block define-macro="widgets_javascript"> |
---|
21 | <!-- XXX this has to move to CPSSchemas --> |
---|
22 | <style type="text/css" |
---|
23 | tal:content="string:@import url(${base_url}calendar-win2k-1.css);"></style> |
---|
24 | <script type="text/javascript" src="calendar.js" |
---|
25 | tal:attributes="src string:${base_url}calendar.js"></script> |
---|
26 | <script type="text/javascript" src="lang/calendar-en.js" |
---|
27 | tal:define="local cpsmcat/getSelectedLanguage" |
---|
28 | tal:attributes="src string:${base_url}lang/calendar-${local}.js"></script> |
---|
29 | <script type="text/javascript" src="calendar-setup.js" |
---|
30 | tal:attributes="src string:${base_url}calendar-setup.js"></script> |
---|
31 | <script type="text/javascript" src="prototype.js" |
---|
32 | tal:attributes="src string:${base_url}prototype.js"></script> |
---|
33 | <script type="text/javascript" src="effects.js" |
---|
34 | tal:attributes="src string:${base_url}effects.js"></script> |
---|
35 | <script type="text/javascript" src="controls.js" |
---|
36 | tal:attributes="src string:${base_url}controls.js"></script> |
---|
37 | <script type="text/javascript" src="cpsdocument.js" |
---|
38 | tal:attributes="src string:${base_url}cpsdocument.js"></script> |
---|
39 | </metal:block> |
---|
40 | </metal:block> |
---|
41 | |
---|
42 | <metal:block fill-slot="header"> |
---|
43 | <a href="" |
---|
44 | tal:attributes="href string:${here/academicsParent}"> |
---|
45 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
46 | Up one level |
---|
47 | </a> |
---|
48 | <h3>Fill Your Clearance Form!</h3> |
---|
49 | <br /> |
---|
50 | </metal:block> |
---|
51 | |
---|
52 | <metal:block fill-slot="main"> |
---|
53 | <form action="ACTION" method="post" id="editForm" |
---|
54 | enctype="multipart/form-data" class="workflow" |
---|
55 | tal:attributes="action form_action"> |
---|
56 | <div class="group"> |
---|
57 | <div class="documentFields"> |
---|
58 | <tal:block define="getFormUidHtml nocall:modules/Products.CPSDocument.utils/getFormUidHtml" |
---|
59 | replace="structure python:getFormUidHtml(request)"/> |
---|
60 | <input type="hidden" id="button_placeholder" name="button_placeholder" value="" /> |
---|
61 | <div id="rendered_main" tal:content="structure rendered_main"> |
---|
62 | CONTENT |
---|
63 | </div> |
---|
64 | </div> |
---|
65 | </div> |
---|
66 | <input type="submit" class="standalone" name="cpsdocument_edit_button" |
---|
67 | value="Save" |
---|
68 | id="cpsdocument_edit_button" |
---|
69 | tal:condition="not:creation" /> |
---|
70 | </form> |
---|
71 | <div id="ajax_psm" style="display:none"> |
---|
72 | ajax feedback |
---|
73 | </div> |
---|
74 | </metal:block> |
---|
75 | |
---|
76 | </metal:block> |
---|
77 | </metal:block> |
---|
78 | </tal:block> |
---|