Last change
on this file since 6344 was
6344,
checked in by Henrik Bettermann, 13 years ago
|
Adjust form status summary throughout the portal. Do not display errors in status summary. These errors can be found the form too.
|
File size:
1.8 KB
|
Line | |
---|
1 | <form action="." tal:attributes="action request/URL" method="post" |
---|
2 | class="edit-form" enctype="multipart/form-data"> |
---|
3 | |
---|
4 | <h2 i18n:translate="" |
---|
5 | tal:condition="view/label" |
---|
6 | tal:content="view/label">Label</h2> |
---|
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 | <table class="zebra"> |
---|
18 | <tbody> |
---|
19 | <tal:block repeat="widget view/widgets"> |
---|
20 | <tr> |
---|
21 | <td class="label" tal:define="hint widget/hint"> |
---|
22 | <label tal:condition="python:hint" |
---|
23 | tal:attributes="for widget/name"> |
---|
24 | <span class="required" tal:condition="widget/required" |
---|
25 | >*</span><span i18n:translate="" |
---|
26 | tal:content="widget/label">label</span> |
---|
27 | </label> |
---|
28 | <label tal:condition="python:not hint" |
---|
29 | tal:attributes="for widget/name"> |
---|
30 | <span class="required" tal:condition="widget/required" |
---|
31 | >*</span><span i18n:translate="" |
---|
32 | tal:content="widget/label">label</span>: |
---|
33 | </label> |
---|
34 | </td> |
---|
35 | <td class="field"> |
---|
36 | <div class="widget" tal:content="structure widget"> |
---|
37 | <input type="text" /> |
---|
38 | </div> |
---|
39 | <div class="error" tal:condition="widget/error"> |
---|
40 | <span tal:replace="structure widget/error">error</span> |
---|
41 | </div> |
---|
42 | </td> |
---|
43 | </tr> |
---|
44 | </tal:block> |
---|
45 | </tbody> |
---|
46 | </table> |
---|
47 | |
---|
48 | <div id="actionsView"> |
---|
49 | <span class="actionButtons" tal:condition="view/availableActions"> |
---|
50 | <input tal:repeat="action view/actions" |
---|
51 | tal:replace="structure action/render" |
---|
52 | /> |
---|
53 | </span> |
---|
54 | </div> |
---|
55 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.