source: main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/clearanceeditpage.pt @ 9003

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

Backup of local changes in branch (work in progress).

File size: 1.9 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      enctype="multipart/form-data">
7
8  <div class="alert-message error"
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  <ul class="tabs" data-tabs="tabs">
18    <li class="active"><a href="#tab-1"><span>Clearance Data</span></a></li>
19    <li><a href="#tab-2"><span>Scans</span></a></li>
20  </ul>
21  <div class="tab-content">
22    <div id="tab-1" class="active">
23      <table class="form-table">
24        <tbody>
25          <tal:block repeat="widget view/widgets">
26            <tr>
27              <td class="fieldname">
28                  <span tal:condition="widget/required">*</span>
29                  <span i18n:translate="" tal:content="widget/label">label</span>:
30              </td>
31              <td>
32                <span tal:content="structure widget">
33                  <input type="text" />
34                </span>
35                <tal:error tal:condition="widget/error">
36                  <span tal:replace="structure widget/error">error</span>
37                </tal:error>
38                <tal:hint tal:condition="widget/hint">
39                  <span tal:content="structure widget/hint">hint</span>
40                </tal:hint>
41              </td>
42            </tr>
43          </tal:block>
44        </tbody>
45      </table>
46
47      <div tal:condition="view/availableActions">
48        <input tal:repeat="action view/actions"
49               tal:replace="structure action/render"
50               />
51      </div>
52    </div>
53
54    <div id="tab-2">
55      <table class="form-table">
56        <tbody>
57          <tal:files content="structure provider:files" />
58        </tbody>
59      </table>
60    </div>
61  </div>
62</form>
Note: See TracBrowser for help on using the repository browser.