1 | <form action="." tal:attributes="action request/URL" method="post" |
---|
2 | i18n:domain="waeup.sirp" enctype="multipart/form-data"> |
---|
3 | |
---|
4 | <ul class="tabs" data-tabs="tabs"> |
---|
5 | <li tal:attributes="class view/tab1"><a href="#tab-1"> |
---|
6 | <span i18n:translate="">Clearance Data</span></a></li> |
---|
7 | <li tal:attributes="class view/tab2"><a href="#tab-2"> |
---|
8 | <span i18n:translate="">Scans</span></a></li> |
---|
9 | </ul> |
---|
10 | <div class="tab-content"> |
---|
11 | <div id="tab-1" tal:attributes="class view/tab1"> |
---|
12 | <table class="form-table"> |
---|
13 | <tbody> |
---|
14 | <tal:block repeat="widget view/widgets"> |
---|
15 | <tr> |
---|
16 | <td class="fieldname"> |
---|
17 | <span tal:condition="widget/required">*</span> |
---|
18 | <span tal:content="widget/label">LABEL</span>: |
---|
19 | </td> |
---|
20 | <td> |
---|
21 | <span tal:content="structure widget"> |
---|
22 | <input type="text" /> |
---|
23 | </span> |
---|
24 | <tal:error tal:condition="widget/error"> |
---|
25 | <span tal:replace="structure widget/error">ERROR</span> |
---|
26 | </tal:error> |
---|
27 | <tal:hint tal:condition="widget/hint"> |
---|
28 | <span tal:content="structure widget/hint">HINT</span> |
---|
29 | </tal:hint> |
---|
30 | </td> |
---|
31 | </tr> |
---|
32 | </tal:block> |
---|
33 | </tbody> |
---|
34 | </table> |
---|
35 | |
---|
36 | <div tal:condition="view/availableActions"> |
---|
37 | <input tal:repeat="action view/actions" |
---|
38 | tal:replace="structure action/render" |
---|
39 | /> |
---|
40 | </div> |
---|
41 | </div> |
---|
42 | |
---|
43 | <div id="tab-2" tal:attributes="class view/tab2"> |
---|
44 | <table class="form-table"> |
---|
45 | <tbody> |
---|
46 | <tal:files content="structure provider:files" /> |
---|
47 | </tbody> |
---|
48 | </table> |
---|
49 | </div> |
---|
50 | </div> |
---|
51 | </form> |
---|