Last change
on this file since 7463 was
7463,
checked in by Henrik Bettermann, 13 years ago
|
Move form status message to site layout pagetemplates. This saves a lot of code.
|
File size:
1.5 KB
|
Line | |
---|
1 | <form action="." tal:attributes="action request/URL" method="post" |
---|
2 | enctype="multipart/form-data"> |
---|
3 | |
---|
4 | <h2 i18n:translate="" |
---|
5 | tal:condition="view/label" |
---|
6 | tal:content="view/label">Label</h2> |
---|
7 | |
---|
8 | <table class="form-table"> |
---|
9 | <tbody> |
---|
10 | <tal:block repeat="widget view/widgets"> |
---|
11 | <tr> |
---|
12 | <td class="fieldname"> |
---|
13 | <span tal:condition="widget/required">*</span> |
---|
14 | <span i18n:translate="" tal:content="widget/label">label</span>: |
---|
15 | </td> |
---|
16 | <td> |
---|
17 | <span tal:content="structure widget"> |
---|
18 | <input type="text" /> |
---|
19 | </span> |
---|
20 | <tal:error tal:condition="widget/error"> |
---|
21 | <span tal:replace="structure widget/error">error</span> |
---|
22 | </tal:error> |
---|
23 | <tal:hint tal:condition="widget/hint"> |
---|
24 | <span tal:content="structure widget/hint">hint</span> |
---|
25 | </tal:hint> |
---|
26 | </td> |
---|
27 | </tr> |
---|
28 | </tal:block> |
---|
29 | <tr tal:condition="view/captcha_code"> |
---|
30 | <td i18n:translate=""> |
---|
31 | Please solve the captcha<br /> |
---|
32 | to prevent misuse of this service: |
---|
33 | </td> |
---|
34 | <td> |
---|
35 | <div tal:content="structure view/captcha_code"></div> |
---|
36 | </td> |
---|
37 | </tr> |
---|
38 | |
---|
39 | </tbody> |
---|
40 | </table> |
---|
41 | <p> |
---|
42 | An account will be created for you and an email with your login |
---|
43 | credentials will be sent to the address provided. |
---|
44 | </p> |
---|
45 | <div tal:condition="view/availableActions"> |
---|
46 | <input tal:repeat="action view/actions" |
---|
47 | tal:replace="structure action/render" |
---|
48 | /> |
---|
49 | </div> |
---|
50 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.