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

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

Move form label to site layout pagetemplates. This saves even more code.

File size: 2.1 KB
Line 
1<form action="." tal:attributes="action request/URL" method="post"
2      enctype="multipart/form-data">
3
4  <table class="form-table">
5    <tbody>
6      <tr>
7        <td class="fieldname">
8            Course Title:
9        </td>
10        <td>
11            <span tal:replace="context/title">TITLE</span>
12        </td>
13      </tr>
14      <tr>
15        <td class="fieldname">
16            Faculty:
17        </td>
18        <td>
19            <span tal:replace="context/faculty">FACULTY</span>
20        </td>
21      </tr>
22      <tr>
23        <td class="fieldname">
24            Department:
25        </td>
26        <td>
27            <span tal:replace="context/department">DEPARTMENT</span>
28        </td>
29      </tr>
30      <tr>
31        <td class="fieldname">
32            Semester:
33        </td>
34        <td>
35            <span tal:replace="context/semester">SEMESTER</span>
36        </td>
37      </tr>
38      <tr>
39        <td class="fieldname">
40            Credits:
41        </td>
42        <td>
43            <span tal:replace="context/credits">CREDITS</span>
44        </td>
45      </tr>
46      <tr>
47        <td class="fieldname">
48            Passmark:
49        </td>
50        <td>
51            <span tal:replace="context/passmark">PASSMARK</span>
52        </td>
53      </tr>
54      <tal:block repeat="widget view/widgets">
55        <tr>
56          <td class="fieldname">
57              <span tal:condition="widget/required">*</span>
58              <span i18n:translate="" tal:content="widget/label">label</span>:
59          </td>
60          <td>
61            <span tal:content="structure widget">
62              <input type="text" />
63            </span>
64            <tal:error tal:condition="widget/error">
65              <span tal:replace="structure widget/error">error</span>
66            </tal:error>
67            <tal:hint tal:condition="widget/hint">
68              <span tal:content="structure widget/hint">hint</span>
69            </tal:hint>
70          </td>
71        </tr>
72      </tal:block>
73    </tbody>
74  </table>
75  <div tal:condition="view/availableActions">
76    <input tal:repeat="action view/actions"
77           tal:replace="structure action/render"
78           />
79  </div>
80</form>
Note: See TracBrowser for help on using the repository browser.