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