source: main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultycontainermanagepage.pt @ 7162

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

Replace span tags by div tags. This ensures that the action buutons appear below table information.

File size: 1.7 KB
Line 
1<h2 i18n:translate=""
2    tal:condition="view/label"
3    tal:content="view/label">Label</h2>
4
5<div class="form-status"
6    tal:define="status view/status"
7    tal:condition="status">
8    Form Status:
9    <span i18n:translate="" tal:content="view/status">
10      Form status summary
11    </span>
12</div>
13
14<form action="." tal:attributes="action request/URL" method="POST"
15      class="edit-form" enctype="multipart/form-data">
16
17  <div id="tabs">
18    <ul>
19      <li><a href="#tab-1">
20        <span tal:content="view/subunits">Contents</span>
21      </a></li>
22    </ul>
23
24    <div id="tab-1">
25      <h3 tal:content="view/subunits">Faculties</h3>
26      <table class="zebra">
27        <thead>
28          <tr>
29            <th>&nbsp;</th><th>Code</th><th>Title</th>
30          </tr>
31        </thead>
32        <tbody>
33          <tr tal:repeat="dep context/values">
34            <td>
35              <input type="checkbox"
36                     name="val_id"
37                     tal:attributes="value dep/code" />
38            </td>
39            <td>
40              <a tal:attributes="href python: view.url(dep)"
41                 tal:content="dep/__name__">
42                ID
43              </a>
44            </td>
45            <td>
46              <span tal:content="dep/title">
47                ID
48              </span>
49            </td>
50          </tr>
51        </tbody>
52      </table>
53      <div class="actionButtons" tal:condition="view/availableActions">
54        <span tal:repeat="action view/actions"
55              tal:omit-tag="">
56          <input tal:condition="python:action.label in view.taboneactions"
57                 tal:replace="structure action/render"/>
58        </span>
59      </div>
60
61    </div>
62  </div>
63</form>
Note: See TracBrowser for help on using the repository browser.