source: main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontaineraddpage.pt @ 7464

Last change on this file since 7464 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.0 KB
Line 
1<form action="." tal:attributes="action request/URL" method="post"
2      class="edit-form" 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    </tbody>
26  </table>
27
28  <div tal:condition="view/availableActions">
29    <input tal:repeat="action view/actions"
30             tal:replace="structure action/render"
31             />
32  </div>
33</form>
Note: See TracBrowser for help on using the repository browser.