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

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

Rename views and page templates according to the convention in the university package.

File size: 2.0 KB
Line 
1<form action="." tal:attributes="action request/URL" method="post"
2      class="edit-form" enctype="multipart/form-data">
3
4  <h2 i18n:translate=""
5    tal:condition="view/label"
6    tal:content="view/label">Label</h2>
7
8  <div class="form-status"
9    tal:define="status view/status"
10    tal:condition="status">
11
12    <div i18n:translate="" tal:content="view/status">
13      Form status summary
14    </div>
15
16    <ul class="errors" tal:condition="view/errors">
17      <li tal:repeat="error view/error_views">
18         <span tal:replace="structure error">Error Type</span>
19      </li>
20    </ul>
21  </div>
22
23  <table class="zebra">
24    <tbody>
25        <tal:block repeat="widget view/widgets">
26        <tr>
27          <td class="label" tal:define="hint widget/hint">
28            <label tal:condition="python:hint"
29                   tal:attributes="for widget/name">
30              <span class="required" tal:condition="widget/required"
31              >*</span><span i18n:translate=""
32                             tal:content="widget/label">label</span>
33            </label>
34            <label tal:condition="python:not hint"
35                   tal:attributes="for widget/name">
36              <span class="required" tal:condition="widget/required"
37              >*</span><span i18n:translate=""
38                             tal:content="widget/label">label</span>:
39            </label>
40          </td>
41          <td class="field">
42            <div class="widget" tal:content="structure widget">
43              <input type="text" />
44            </div>
45            <div class="error" tal:condition="widget/error">
46              <span tal:replace="structure widget/error">error</span>
47            </div>
48          </td>
49        </tr>
50        </tal:block>
51    </tbody>
52  </table>
53
54  <div id="actionsView">
55    <span class="actionButtons" tal:condition="view/availableActions">
56      <input tal:repeat="action view/actions"
57             tal:replace="structure action/render"
58             />
59    </span>
60  </div>
61</form>
Note: See TracBrowser for help on using the repository browser.