source: main/waeup.kofa/branches/uli-py3/src/waeup/kofa/hostels/browser_templates/containermanagepage.pt @ 17711

Last change on this file since 17711 was 13443, checked in by Henrik Bettermann, 9 years ago

Add sort_id column.

File size: 2.1 KB
Line 
1<form action="." tal:attributes="action request/URL"
2    i18n:domain="waeup.kofa"
3    method="POST" enctype="multipart/form-data">
4
5
6  <ul class="tabs nav nav-tabs" data-tabs="tabs">
7    <li class="active">
8      <a href="#tab1" data-toggle="tab" i18n:translate="">
9        Settings
10      </a>
11    </li>
12    <li>
13      <a href="#tab2" data-toggle="tab" i18n:translate="">
14        Hostels
15      </a>
16    </li>
17  </ul>
18
19  <div class="tab-content">
20    <div id="tab1" class="active tab-pane">
21      <br />
22      <table class="form-table">
23        <tbody>
24          <tal:widgets content="structure provider:widgets" />
25        </tbody>
26      </table>
27      <div tal:condition="view/availableActions">
28        <span tal:repeat="action view/actions" tal:omit-tag="">
29          <input tal:condition="python:action.label in view.taboneactions"
30            tal:replace="structure action/render"/>
31        </span>
32      </div>
33    </div>
34    <div id="tab2" class="tab-pane">
35      <br />
36      <table class="kofa-data-table dataTableManage">
37        <thead>
38          <tr>
39            <th>&nbsp;
40            </th>
41            <th i18n:translate="">Id
42            </th>
43            <th i18n:translate="">Sort Id
44            </th>
45            <th i18n:translate="">Name
46            </th>
47          </tr>
48        </thead>
49        <tbody>
50          <tr tal:repeat="hostel context/values">
51            <td>
52              <input type="checkbox" name="val_id" tal:attributes="value hostel/hostel_id" />
53           </td>
54           <td>
55              <a tal:attributes="href python: view.url(hostel)" tal:content="hostel/__name__"> ID</a>
56           </td>
57           <td tal:content="hostel/sort_id">SORT_ID</td>
58           <td><span tal:content="hostel/hostel_name">ID</span></td>
59          </tr>
60        </tbody>
61      </table>
62      <div tal:condition="view/availableActions">
63        <span tal:repeat="action view/actions" tal:omit-tag="">
64          <input tal:condition="python:action.label in view.tabtwoactions"
65            tal:replace="structure action/render"/>
66        </span>
67      </div>
68    </div>
69  </div>
70</form>
Note: See TracBrowser for help on using the repository browser.