source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/changepw.pt @ 7617

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

Move form label to site layout pagetemplates. This saves even more code.

File size: 1.3 KB
Line 
1<form action="." tal:attributes="action request/URL" method="post"
2      enctype="multipart/form-data">
3
4  <table class="form-table">
5    <tbody>
6      <tal:block repeat="widget view/widgets">
7        <tr>
8          <td class="fieldname">
9              <span tal:condition="widget/required">*</span>
10              <span i18n:translate="" tal:content="widget/label">label</span>:
11          </td>
12          <td>
13            <span tal:content="structure widget">
14              <input type="text" />
15            </span>
16            <tal:error tal:condition="widget/error">
17              <span tal:replace="structure widget/error">error</span>
18            </tal:error>
19            <tal:hint tal:condition="widget/hint">
20              <span tal:content="structure widget/hint">hint</span>
21            </tal:hint>
22          </td>
23        </tr>
24      </tal:block>
25      <tr tal:condition="view/captcha_code">
26        <td i18n:translate="">
27          Please solve the captcha<br />
28          to prevent misuse of this service:
29        </td>
30        <td>
31          <div tal:content="structure view/captcha_code"></div>
32        </td>
33      </tr>
34
35    </tbody>
36  </table>
37
38  <div tal:condition="view/availableActions">
39    <input tal:repeat="action view/actions"
40           tal:replace="structure action/render"
41           />
42  </div>
43</form>
Note: See TracBrowser for help on using the repository browser.