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