Line | |
---|
1 | <form action="." tal:attributes="action request/URL" method="post" |
---|
2 | class="edit-form" enctype="multipart/form-data"> |
---|
3 | |
---|
4 | <table class="form-table"> |
---|
5 | <tbody> |
---|
6 | <tal:block repeat="widget view/widgets"> |
---|
7 | <tr> |
---|
8 | <td class="fieldname"> |
---|
9 | <span tal:condition="widget/required">*</span> |
---|
10 | <span tal:content="widget/label">LABEL</span>: |
---|
11 | </td> |
---|
12 | <td> |
---|
13 | <span tal:content="structure widget"> |
---|
14 | <input type="text" /> |
---|
15 | </span> |
---|
16 | <tal:error tal:condition="widget/error"> |
---|
17 | <span tal:replace="structure widget/error">ERROR</span> |
---|
18 | </tal:error> |
---|
19 | <tal:hint tal:condition="widget/hint"> |
---|
20 | <span tal:content="structure widget/hint">HINT</span> |
---|
21 | </tal:hint> |
---|
22 | </td> |
---|
23 | </tr> |
---|
24 | </tal:block> |
---|
25 | </tbody> |
---|
26 | </table> |
---|
27 | |
---|
28 | <div tal:condition="view/availableActions"> |
---|
29 | <input tal:repeat="action view/actions" |
---|
30 | tal:replace="structure action/render" |
---|
31 | /> |
---|
32 | </div> |
---|
33 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.