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

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

Move form status message to site layout pagetemplates. This saves a lot of code.

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