1 | <h2 i18n:translate="" |
---|
2 | tal:condition="view/label" |
---|
3 | tal:content="view/label">Label</h2> |
---|
4 | |
---|
5 | <form action="." tal:attributes="action request/URL" method="post" |
---|
6 | class="edit-form" enctype="multipart/form-data"> |
---|
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="form-fields 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> |
---|
41 | <td class="label"><label>Password:</label></td> |
---|
42 | <td> |
---|
43 | <input name="password" type="password" /> |
---|
44 | </td> |
---|
45 | </tr> |
---|
46 | <tr> |
---|
47 | <td class="label"><label>Retype password:</label></td> |
---|
48 | <td> |
---|
49 | <input name="control_password" type="password" /> |
---|
50 | </td> |
---|
51 | </tr> |
---|
52 | <tr> |
---|
53 | <td class="label"><label>Registration Transition:</label></td> |
---|
54 | <td> |
---|
55 | <select id="transition" name="transition"> |
---|
56 | <option tal:repeat="transition view/getTransitions" |
---|
57 | tal:attributes="value transition/name"> |
---|
58 | <span tal:replace="transition/title">TRANSITIONTITLE</span> |
---|
59 | </option> |
---|
60 | </select> |
---|
61 | </td> |
---|
62 | </tr> |
---|
63 | </tbody> |
---|
64 | </table> |
---|
65 | |
---|
66 | <div class="actionButtons" tal:condition="view/availableActions"> |
---|
67 | <input tal:repeat="action view/actions" |
---|
68 | tal:replace="structure action/render" |
---|
69 | /> |
---|
70 | </div> |
---|
71 | </form> |
---|