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 | <div class="alert-message error" |
---|
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="form-table"> |
---|
18 | <tbody> |
---|
19 | <tal:block repeat="widget view/widgets"> |
---|
20 | <tr> |
---|
21 | <td class="fieldname"> |
---|
22 | <span tal:condition="widget/required">*</span> |
---|
23 | <span i18n:translate="" tal:content="widget/label">label</span>: |
---|
24 | </td> |
---|
25 | <td> |
---|
26 | <span tal:content="structure widget"> |
---|
27 | <input type="text" /> |
---|
28 | </span> |
---|
29 | <tal:error tal:condition="widget/error"> |
---|
30 | <span tal:replace="structure widget/error">error</span> |
---|
31 | </tal:error> |
---|
32 | <tal:hint tal:condition="widget/hint"> |
---|
33 | <span tal:content="structure widget/hint">hint</span> |
---|
34 | </tal:hint> |
---|
35 | </td> |
---|
36 | </tr> |
---|
37 | </tal:block> |
---|
38 | <tr tal:condition="view/captcha_code"> |
---|
39 | <td i18n:translate=""> |
---|
40 | Please solve the captcha<br /> |
---|
41 | to prevent misuse of this service: |
---|
42 | </td> |
---|
43 | <td> |
---|
44 | <div tal:content="structure view/captcha_code"></div> |
---|
45 | </td> |
---|
46 | </tr> |
---|
47 | |
---|
48 | </tbody> |
---|
49 | </table> |
---|
50 | <p> |
---|
51 | An account will be created for you and an email with your login |
---|
52 | credentials will be sent to the address provided. |
---|
53 | </p> |
---|
54 | <div tal:condition="view/availableActions"> |
---|
55 | <input tal:repeat="action view/actions" |
---|
56 | tal:replace="structure action/render" |
---|
57 | /> |
---|
58 | </div> |
---|
59 | </form> |
---|