1 | <form action="." tal:attributes="action request/URL" method="post" |
---|
2 | i18n:domain="waeup.sirp" enctype="multipart/form-data"> |
---|
3 | |
---|
4 | <ul class="tabs" data-tabs="tabs"> |
---|
5 | <li tal:attributes="class view/tab1"><a href="#tab-1"> |
---|
6 | <span i18n:translate="">Base Data</span></a></li> |
---|
7 | <li tal:attributes="class view/tab2"><a href="#tab-2"> |
---|
8 | <span i18n:translate="">Passport Picture</span></a></li> |
---|
9 | </ul> |
---|
10 | |
---|
11 | <div class="tab-content"> |
---|
12 | <div id="tab-1" tal:attributes="class view/tab1"> |
---|
13 | <table class="form-table"> |
---|
14 | <tbody> |
---|
15 | <tal:block repeat="widget view/widgets"> |
---|
16 | <tr> |
---|
17 | <td class="fieldname"> |
---|
18 | <span tal:condition="widget/required">*</span> |
---|
19 | <span tal:content="widget/label">LABEL</span>: |
---|
20 | </td> |
---|
21 | <td> |
---|
22 | <span tal:content="structure widget"> |
---|
23 | <input type="text" /> |
---|
24 | </span> |
---|
25 | <tal:error tal:condition="widget/error"> |
---|
26 | <span tal:replace="structure widget/error">ERROR</span> |
---|
27 | </tal:error> |
---|
28 | <tal:hint tal:condition="widget/hint"> |
---|
29 | <span tal:content="structure widget/hint">HINT</span> |
---|
30 | </tal:hint> |
---|
31 | </td> |
---|
32 | </tr> |
---|
33 | </tal:block> |
---|
34 | <tr> |
---|
35 | <td class="fieldname" i18n:translate="">Password:</td> |
---|
36 | <td> |
---|
37 | <input name="password" type="password" /> |
---|
38 | </td> |
---|
39 | </tr> |
---|
40 | <tr> |
---|
41 | <td class="fieldname" i18n:translate="">Retype password:</td> |
---|
42 | <td> |
---|
43 | <input name="control_password" type="password" /> |
---|
44 | </td> |
---|
45 | </tr> |
---|
46 | <tr> |
---|
47 | <td class="fieldname" i18n:translate="">Registration Transition:</td> |
---|
48 | <td> |
---|
49 | <select id="transition" name="transition"> |
---|
50 | <option tal:repeat="transition view/getTransitions" |
---|
51 | tal:attributes="value transition/name"> |
---|
52 | <span tal:replace="transition/title">TRANSITIONTITLE</span> |
---|
53 | </option> |
---|
54 | </select> |
---|
55 | </td> |
---|
56 | </tr> |
---|
57 | |
---|
58 | </tbody> |
---|
59 | </table> |
---|
60 | |
---|
61 | <div tal:condition="view/availableActions"> |
---|
62 | <input tal:repeat="action view/actions" |
---|
63 | tal:replace="structure action/render" |
---|
64 | /> |
---|
65 | </div> |
---|
66 | </div> |
---|
67 | |
---|
68 | <div id="tab-2" tal:attributes="class view/tab2"> |
---|
69 | <table class="form-table"> |
---|
70 | <tbody> |
---|
71 | <tal:files content="structure provider:files" /> |
---|
72 | </tbody> |
---|
73 | </table> |
---|
74 | </div> |
---|
75 | </div> |
---|
76 | </form> |
---|