source: WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt @ 851

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

new logig for the Apply/Finally? in application_edit and clearance_edit
the field acknow can be removed from clearance schema and layouts (to be done)

  • Property svn:keywords set to Id
File size: 4.2 KB
Line 
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
17  <metal:block fill-slot="header">
18     <a href=""
19       tal:attributes="href string:${here/academicsParent}">
20      <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
21      Up one level
22    </a>
23    <h3>Fill Your Clearance/Eligibility Form!</h3>
24    <br />   
25  </metal:block>
26
27  <metal:block fill-slot="main">
28    <form action="ACTION" method="post" id="editForm"
29          enctype="multipart/form-data" class="workflow"
30          tal:attributes="action form_action">
31      <div class="group">
32        <div class="documentFields">
33          <tal:block define="getFormUidHtml nocall:modules/Products.CPSDocument.utils/getFormUidHtml"
34                     replace="structure python:getFormUidHtml(request)"/>
35          <input type="hidden" id="button_placeholder" name="button_placeholder" value="" />
36          <div id="rendered_main" tal:content="structure rendered_main">
37            CONTENT
38          </div>
39        </div>
40      </div>
41        <table class="layoutDefault" summary="Form layout">
42          <tr class="even ajaxtd">
43            <th colspan="5" align="left">I hereby acknowledge by ticking this check box
44            that if it is discovered at any time that i do not possess any of the
45            qualifications which i claim to have obtained, i will be expelled from the
46            University and shall not be re-admitted for the same or any other programme,
47            even if i have upgraded my previous qualifications or possess additional
48            qualifications.
49            </th>
50          </tr>
51          <tr>
52            <div class="" id="acknowledge">
53              <td valign="top" width="80">
54                <div class="label">
55                  <label>Acknowledgement</label>:
56                </div>
57                <button type="button" class="tooltipControl"
58                        onclick="toggleElementVisibility('acknow_help')"> ? </button>
59              </td>
60              <td valign="top">
61                <span class="field">
62                  <input type="checkbox" value="True"
63                         name="acknowledge" />
64                </span>
65                <div class="tooltipArea"
66                     style="visibility: hidden;"
67                     id="acknow_help"
68                     onclick="showElement(false, 'acknow_help')">
69                  I hereby acknowledge by ticking this check box that if it is
70                  discovered at any time that i do not possess any of the qualifications
71                  which i claim to have obtained, i will be expelled from the University
72                  and shall not be re-admitted for the same or any other programme, even
73                  if i have upgraded my previous qualifications or possess additional
74                  qualifications.
75                </div>
76              </td>
77            </div>
78          </tr>
79        </table>
80        <input type="submit" class="standalone"
81               name="cpsdocument_edit_button"
82               value="Save & Return later"
83               id="cpsdocument_edit_button"
84               tal:condition="not:creation" />
85        <input type="submit" class="standalone"
86               name="cpsdocument_edit_and_view_button"
87               value="Save & Submit"
88               id="cpsdocument_edit_and_view_button"
89               tal:condition="not:creation" />
90      </form>
91      <div id="ajax_psm" style="display:none">
92        ajax feedback
93      </div>
94    </metal:block>
95  </metal:block>
96</metal:block>
97</tal:block>
Note: See TracBrowser for help on using the repository browser.