Line | |
---|
1 | <h2 i18n:translate="" |
---|
2 | tal:condition="view/label" |
---|
3 | tal:content="view/label">Label</h2> |
---|
4 | |
---|
5 | <div class="form-status" |
---|
6 | tal:define="status view/status" |
---|
7 | tal:condition="status"> |
---|
8 | |
---|
9 | <div i18n:translate="" tal:content="view/status"> |
---|
10 | Form status summary |
---|
11 | </div> |
---|
12 | |
---|
13 | <ul class="errors" tal:condition="view/errors"> |
---|
14 | <li tal:repeat="error view/error_views"> |
---|
15 | <span tal:replace="structure error">Error Type</span> |
---|
16 | </li> |
---|
17 | </ul> |
---|
18 | </div> |
---|
19 | |
---|
20 | |
---|
21 | <form action="." tal:attributes="action request/URL" method="POST" |
---|
22 | class="edit-form" enctype="multipart/form-data"> |
---|
23 | |
---|
24 | <div id="tabs"> |
---|
25 | <ul> |
---|
26 | <li><a href="#tab-1"><span tal:content="view/subunits">Contents</span></a></li> |
---|
27 | </ul> |
---|
28 | |
---|
29 | <div id="tab-1"> |
---|
30 | <h3 tal:content="view/subunits">Applicants Containers</h3> |
---|
31 | <table class="zebra"> |
---|
32 | <thead> |
---|
33 | <tr> |
---|
34 | <th> </th><th>Code</th><th>Title</th> |
---|
35 | </tr> |
---|
36 | </thead> |
---|
37 | <tbody> |
---|
38 | <tr tal:repeat="ac context/values"> |
---|
39 | <td> |
---|
40 | <input type="checkbox" |
---|
41 | name="val_id" |
---|
42 | tal:attributes="value ac/__name__" /> |
---|
43 | </td> |
---|
44 | <td> |
---|
45 | <a tal:attributes="href python: view.url(ac)" |
---|
46 | tal:content="ac/__name__"> |
---|
47 | ID |
---|
48 | </a> |
---|
49 | </td> |
---|
50 | <td> |
---|
51 | <span tal:content="ac/title"> |
---|
52 | ID |
---|
53 | </span> |
---|
54 | </td> |
---|
55 | </tr> |
---|
56 | </tbody> |
---|
57 | </table> |
---|
58 | |
---|
59 | <div id="actionsView"> |
---|
60 | <span class="actionButtons" tal:condition="view/availableActions"> |
---|
61 | <span tal:repeat="action view/actions" |
---|
62 | tal:omit-tag=""> |
---|
63 | <input tal:condition="python:action.label in view.taboneactions" |
---|
64 | tal:replace="structure action/render"/> |
---|
65 | </span> |
---|
66 | </span> |
---|
67 | </div> |
---|
68 | |
---|
69 | </div> |
---|
70 | </div> |
---|
71 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.