source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/clearanceeditpage.pt @ 7270

Last change on this file since 7270 was 7134, checked in by Henrik Bettermann, 13 years ago

Use jquery tabs in StudentBaseManageFormPage? and StudentClearanceManageFormPage? forms to separate form data and file upload widgets.

File size: 2.0 KB
Line 
1<h2 i18n:translate=""
2    tal:condition="view/label"
3    tal:content="view/label">Label</h2>
4
5<form action="." tal:attributes="action request/URL" method="post"
6      class="edit-form" enctype="multipart/form-data">
7
8  <div class="form-status"
9    tal:define="status view/status"
10    tal:condition="status">
11    Form Status:
12    <span i18n:translate="" tal:content="view/status">
13      Form status summary
14    </span>
15  </div>
16
17  <div id="tabs">
18    <ul>
19      <li><a href="#tab-1"><span>Clearance Data</span></a></li>
20      <li><a href="#tab-2"><span>Scans</span></a></li>
21    </ul>
22
23    <div id="tab-1">
24      <table class="form-fields zebra">
25        <tbody>
26          <tal:block repeat="widget view/widgets">
27            <tr>
28              <td class="label">
29                <label tal:attributes="for widget/name">
30                  <span class="required" tal:condition="widget/required">*</span>
31                  <span i18n:translate="" tal:content="widget/label">label</span>:
32                </label>
33              </td>
34              <td class="field">
35                <span class="widget" tal:content="structure widget">
36                  <input type="text" />
37                </span>
38                <tal:error tal:condition="widget/error">
39                  <span tal:replace="structure widget/error">error</span>
40                </tal:error>
41                <tal:hint tal:condition="widget/hint">
42                  <span class="hint" tal:content="structure widget/hint">hint</span>
43                </tal:hint>
44              </td>
45            </tr>
46          </tal:block>
47        </tbody>
48      </table>
49
50      <div class="actionButtons" tal:condition="view/availableActions">
51        <input tal:repeat="action view/actions"
52               tal:replace="structure action/render"
53               />
54      </div>
55    </div>
56
57    <div id="tab-2">
58      <h2>Upload scans</h2>
59      <table class="form-fields zebra">
60        <tbody>
61          <tal:files content="structure provider:files" />
62        </tbody>
63      </table>
64    </div>
65  </div>
66</form>
Note: See TracBrowser for help on using the repository browser.