source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/courseticketmanagepage.pt @ 7017

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

Add display and manage pages for course tickets.

File size: 2.5 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    Form Status:
12    <span i18n:translate="" tal:content="view/status">
13      Form status summary
14    </span>
15  </div>
16
17
18  <table class="zebra">
19    <tbody>
20      <tr>
21        <td class="fieldname">
22            Course Title:
23        </td>
24        <td>
25            <span tal:replace="context/title">TITLE</span>
26        </td>
27      </tr>
28      <tr>
29        <td class="fieldname">
30            Faculty:
31        </td>
32        <td>
33            <span tal:replace="context/faculty">FACULTY</span>
34        </td>
35      </tr>
36      <tr>
37        <td class="fieldname">
38            Department:
39        </td>
40        <td>
41            <span tal:replace="context/department">DEPARTMENT</span>
42        </td>
43      </tr>
44      <tr>
45        <td class="fieldname">
46            Semester:
47        </td>
48        <td>
49            <span tal:replace="context/semester">SEMESTER</span>
50        </td>
51      </tr>
52      <tr>
53        <td class="fieldname">
54            Credits:
55        </td>
56        <td>
57            <span tal:replace="context/credits">CREDITS</span>
58        </td>
59      </tr>
60      <tr>
61        <td class="fieldname">
62            Passmark:
63        </td>
64        <td>
65            <span tal:replace="context/passmark">PASSMARK</span>
66        </td>
67      </tr>
68      <tal:block repeat="widget view/widgets">
69        <tr>
70          <td class="label">
71            <label tal:attributes="for widget/name">
72              <span class="required" tal:condition="widget/required">*</span>
73              <span i18n:translate="" tal:content="widget/label">label</span>:
74            </label>
75          </td>
76          <td class="field">
77            <span class="widget" tal:content="structure widget">
78              <input type="text" />
79            </span>
80            <tal:error tal:condition="widget/error">
81              <span tal:replace="structure widget/error">error</span>
82            </tal:error>
83            <tal:hint tal:condition="widget/hint">
84              <span class="hint" tal:content="structure widget/hint">hint</span>
85            </tal:hint>
86          </td>
87        </tr>
88      </tal:block>
89    </tbody>
90  </table>
91  <div class="actionButtons" tal:condition="view/availableActions">
92    <input tal:repeat="action view/actions"
93           tal:replace="structure action/render"
94           />
95  </div>
96</form>
Note: See TracBrowser for help on using the repository browser.