source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/clearanceeditpage.pt @ 17641

Last change on this file since 17641 was 16387, checked in by Henrik Bettermann, 4 years ago

Disable clearance request button if not in state 'clearance started'.

File size: 1.2 KB
Line 
1<form action="." tal:attributes="action request/URL" method="post"
2      i18n:domain="waeup.kofa" enctype="multipart/form-data">
3
4  <ul class="tabs nav nav-tabs" data-tabs="tabs">
5    <li class="active">
6      <a href="#tab1" data-toggle="tab">
7        <span i18n:translate="">Clearance Data</span>
8      </a>
9    </li>
10    <li>
11      <a href="#tab2" data-toggle="tab">
12        <span i18n:translate="">Scans</span>
13      </a>
14    </li>
15  </ul>
16  <div class="tab-content">
17    <div id="tab1" class="active tab-pane">
18      <br />
19      <table class="form-table">
20        <tbody>
21          <tal:widgets content="structure provider:widgets" />
22        </tbody>
23      </table>
24      <br />
25      <div tal:condition="view/availableActions">
26        <span tal:repeat="action view/actions"
27        tal:omit-tag="">
28          <input tal:replace="structure action/render"
29                 tal:condition="python:action.label not in view.do_not_render_buttons"
30                 />
31        </span>
32      </div>
33    </div>
34
35    <div id="tab2" class="tab-pane">
36      <br />
37      <table class="form-table">
38        <tbody>
39          <tal:files content="structure provider:files" />
40        </tbody>
41      </table>
42    </div>
43  </div>
44</form>
Note: See TracBrowser for help on using the repository browser.