1 | <form action="." tal:attributes="action request/URL" method="POST"
|
---|
2 | enctype="multipart/form-data">
|
---|
3 |
|
---|
4 | <ul class="tabs" data-tabs="tabs">
|
---|
5 | <li tal:attributes="class view/tab1"><a href="#tab-1"><span>Study Course Data</span></a></li>
|
---|
6 | <li tal:attributes="class view/tab2"><a href="#tab-2"><span>Study Levels</span></a></li>
|
---|
7 | </ul>
|
---|
8 |
|
---|
9 | <div class="tab-content">
|
---|
10 | <div id="tab-1" tal:attributes="class view/tab1">
|
---|
11 | <table class="form-table">
|
---|
12 | <tbody>
|
---|
13 | <tal:widgets content="structure provider:widgets" />
|
---|
14 | </tbody>
|
---|
15 | </table>
|
---|
16 | <div tal:condition="view/availableActions">
|
---|
17 | <span tal:repeat="action view/actions"
|
---|
18 | tal:omit-tag="">
|
---|
19 | <input tal:condition="python:action.label in view.taboneactions"
|
---|
20 | tal:replace="structure action/render"/>
|
---|
21 | </span>
|
---|
22 | </div>
|
---|
23 | </div>
|
---|
24 |
|
---|
25 | <div id="tab-2" tal:attributes="class view/tab2">
|
---|
26 | <h3>Study Levels (Course Lists)</h3>
|
---|
27 | <table class="display dataTableManage">
|
---|
28 | <thead>
|
---|
29 | <tr>
|
---|
30 | <th> </th><th>Level Code</th><th>Level Title</th>
|
---|
31 | </tr>
|
---|
32 | </thead>
|
---|
33 | <tbody>
|
---|
34 | <tr tal:repeat="cl context/values">
|
---|
35 | <td>
|
---|
36 | <input type="checkbox"
|
---|
37 | name="val_id"
|
---|
38 | tal:attributes="value cl/__name__" />
|
---|
39 | </td>
|
---|
40 | <td> <a tal:attributes="href cl/__name__">
|
---|
41 | <span tal:content="cl/level">CODE</span></a>
|
---|
42 | </td>
|
---|
43 | <td>
|
---|
44 | <span tal:content="cl/level_title">TITLE</span>
|
---|
45 | </td>
|
---|
46 | </tr>
|
---|
47 | </tbody>
|
---|
48 | </table>
|
---|
49 |
|
---|
50 | <div tal:condition="view/availableActions">
|
---|
51 | <span tal:repeat="action view/actions"
|
---|
52 | tal:omit-tag="">
|
---|
53 | <input tal:condition="python:action.label in view.tabtwoactions"
|
---|
54 | tal:replace="structure action/render"/>
|
---|
55 | </span>
|
---|
56 | </div>
|
---|
57 | <br /><br /><br />
|
---|
58 | <div>
|
---|
59 | <span tal:condition="view/availableActions">
|
---|
60 | <span tal:repeat="action view/actions"
|
---|
61 | tal:omit-tag="">
|
---|
62 | <input tal:condition="python:action.label in view.tabthreeactions"
|
---|
63 | tal:replace="structure action/render"/>
|
---|
64 | </span>
|
---|
65 | </span>
|
---|
66 | <select id="addlevel" name="addlevel">
|
---|
67 | <option tal:attributes="value level/code" tal:repeat="level view/level_dict">
|
---|
68 | <span tal:replace="level/title">LEVELTITLE
|
---|
69 | </span>
|
---|
70 | </option>
|
---|
71 | </select>
|
---|
72 | </div>
|
---|
73 | </div>
|
---|
74 | </div>
|
---|
75 | </form>
|
---|
76 |
|
---|
77 |
|
---|
78 |
|
---|