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

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

Replace widgets loop in all pagetemplates by the new widgets provider.

File size: 1.9 KB
Line 
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:widgets content="structure provider:widgets" />
16          <tr>
17            <td class="fieldname" i18n:translate="">Password:</td>
18            <td>
19              <input name="password" type="password"  />
20            </td>
21          </tr>
22          <tr>
23            <td class="fieldname" i18n:translate="">Retype password:</td>
24            <td>
25              <input name="control_password" type="password" />
26            </td>
27          </tr>
28          <tr>
29            <td class="fieldname" i18n:translate="">Registration Transition:</td>
30            <td>
31              <select id="transition" name="transition">
32                <option tal:repeat="transition view/getTransitions"
33                        tal:attributes="value transition/name">
34                  <span tal:replace="transition/title">TRANSITIONTITLE</span>
35                </option>
36              </select>
37            </td>
38          </tr>
39
40        </tbody>
41      </table>
42
43      <div tal:condition="view/availableActions">
44        <input tal:repeat="action view/actions"
45               tal:replace="structure action/render"
46               />
47      </div>
48    </div>
49
50    <div id="tab-2"  tal:attributes="class view/tab2">
51      <table class="form-table">
52        <tbody>
53          <tal:files content="structure provider:files" />
54        </tbody>
55      </table>
56    </div>
57  </div>
58</form>
Note: See TracBrowser for help on using the repository browser.