Last change
on this file since 7724 was
7669,
checked in by Henrik Bettermann, 13 years ago
|
Start internationalization of pagetemplates. Clean up and remove unneeded i18n:translate tags first.
|
File size:
1.6 KB
|
Line | |
---|
1 | <form action="." tal:attributes="action request/URL" method="post" |
---|
2 | enctype="multipart/form-data"> |
---|
3 | |
---|
4 | <ul class="tabs" data-tabs="tabs"> |
---|
5 | <li tal:attributes="class view/tab1"><a href="#tab-1"><span>Clearance Data</span></a></li> |
---|
6 | <li tal:attributes="class view/tab2"><a href="#tab-2"><span>Scans</span></a></li> |
---|
7 | </ul> |
---|
8 | <div class="tab-content"> |
---|
9 | <div id="tab-1" tal:attributes="class view/tab1"> |
---|
10 | <table class="form-table"> |
---|
11 | <tbody> |
---|
12 | <tal:block repeat="widget view/widgets"> |
---|
13 | <tr> |
---|
14 | <td class="fieldname"> |
---|
15 | <span tal:condition="widget/required">*</span> |
---|
16 | <span tal:content="widget/label">label</span>: |
---|
17 | </td> |
---|
18 | <td> |
---|
19 | <span tal:content="structure widget"> |
---|
20 | <input type="text" /> |
---|
21 | </span> |
---|
22 | <tal:error tal:condition="widget/error"> |
---|
23 | <span tal:replace="structure widget/error">error</span> |
---|
24 | </tal:error> |
---|
25 | <tal:hint tal:condition="widget/hint"> |
---|
26 | <span tal:content="structure widget/hint">hint</span> |
---|
27 | </tal:hint> |
---|
28 | </td> |
---|
29 | </tr> |
---|
30 | </tal:block> |
---|
31 | </tbody> |
---|
32 | </table> |
---|
33 | |
---|
34 | <div tal:condition="view/availableActions"> |
---|
35 | <input tal:repeat="action view/actions" |
---|
36 | tal:replace="structure action/render" |
---|
37 | /> |
---|
38 | </div> |
---|
39 | </div> |
---|
40 | |
---|
41 | <div id="tab-2" tal:attributes="class view/tab2"> |
---|
42 | <table class="form-table"> |
---|
43 | <tbody> |
---|
44 | <tal:files content="structure provider:files" /> |
---|
45 | </tbody> |
---|
46 | </table> |
---|
47 | </div> |
---|
48 | </div> |
---|
49 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.