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

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

Merge Bootstrap branch into trunk.

File size: 2.7 KB
Line 
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      enctype="multipart/form-data">
7
8  <div class="alert-message error"
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  <ul class="tabs" data-tabs="tabs">
18    <li class="active"><a href="#tab-1"><span>Base Data</span></a></li>
19    <li><a href="#tab-2"><span>Passport Picture</span></a></li>
20  </ul>
21
22  <div class="tab-content">
23    <div id="tab-1" class="active">
24      <table class="form-table">
25        <tbody>
26          <tal:block repeat="widget view/widgets">
27            <tr>
28              <td class="fieldname">
29                <span tal:condition="widget/required">*</span>
30                <span i18n:translate="" tal:content="widget/label">label</span>:
31              </td>
32              <td>
33                <span tal:content="structure widget">
34                  <input type="text" />
35                </span>
36                <tal:error tal:condition="widget/error">
37                  <span tal:replace="structure widget/error">error</span>
38                </tal:error>
39                <tal:hint tal:condition="widget/hint">
40                  <span tal:content="structure widget/hint">hint</span>
41                </tal:hint>
42              </td>
43            </tr>
44          </tal:block>
45          <tr>
46            <td class="fieldname">Password:</td>
47            <td>
48              <input name="password" type="password"  />
49            </td>
50          </tr>
51          <tr>
52            <td class="fieldname">Retype password:</td>
53            <td>
54              <input name="control_password" type="password" />
55            </td>
56          </tr>
57          <tr>
58            <td class="fieldname">Registration Transition:</td>
59            <td>
60              <select id="transition" name="transition">
61                <option tal:repeat="transition view/getTransitions"
62                        tal:attributes="value transition/name">
63                  <span tal:replace="transition/title">TRANSITIONTITLE</span>
64                </option>
65              </select>
66            </td>
67          </tr>
68
69        </tbody>
70      </table>
71
72      <div tal:condition="view/availableActions">
73        <input tal:repeat="action view/actions"
74               tal:replace="structure action/render"
75               />
76      </div>
77    </div>
78
79    <div id="tab-2">
80      <table class="form-table">
81        <tbody>
82          <tal:files content="structure provider:files" />
83        </tbody>
84      </table>
85    </div>
86  </div>
87</form>
Note: See TracBrowser for help on using the repository browser.