source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/basemanagepage.pt @ 7671

Last change on this file since 7671 was 7669, checked in by Henrik Bettermann, 13 years ago

Start internationalization of pagetemplates. Clean up and remove unneeded i18n:translate tags first.

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