Last change
on this file since 6768 was
6756,
checked in by uli, 13 years ago
|
Merge changes from uli-studentpw back into trunk.
|
File size:
1.6 KB
|
Line | |
---|
1 | <h2 i18n:translate="" |
---|
2 | tal:condition="view/label" |
---|
3 | tal:content="view/label">Label</h2> |
---|
4 | |
---|
5 | <form action="." tal:attributes="action request/URL" method="post" |
---|
6 | class="edit-form" enctype="multipart/form-data"> |
---|
7 | |
---|
8 | <div class="form-status" |
---|
9 | tal:define="status view/status" |
---|
10 | tal:condition="status"> |
---|
11 | <span i18n:translate="" tal:content="view/status"> |
---|
12 | Form status summary |
---|
13 | </span> |
---|
14 | </div> |
---|
15 | |
---|
16 | <input type="hidden" name="student_id" value="" |
---|
17 | tal:attributes="value context/student_id" /> |
---|
18 | |
---|
19 | <table class="form-fields zebra"> |
---|
20 | <tbody> |
---|
21 | <tal:block repeat="widget view/widgets"> |
---|
22 | <tr> |
---|
23 | <td class="label"> |
---|
24 | <label tal:attributes="for widget/name"> |
---|
25 | <span class="required" tal:condition="widget/required">*</span> |
---|
26 | <span i18n:translate="" tal:content="widget/label">label</span>: |
---|
27 | </label> |
---|
28 | </td> |
---|
29 | <td class="field"> |
---|
30 | <span class="widget" tal:content="structure widget"> |
---|
31 | <input type="text" /> |
---|
32 | </span> |
---|
33 | <tal:error tal:condition="widget/error"> |
---|
34 | <span tal:replace="structure widget/error">error</span> |
---|
35 | </tal:error> |
---|
36 | <tal:hint tal:condition="widget/hint"> |
---|
37 | <span class="hint" tal:content="structure widget/hint">hint</span> |
---|
38 | </tal:hint> |
---|
39 | </td> |
---|
40 | </tr> |
---|
41 | </tal:block> |
---|
42 | </tbody> |
---|
43 | </table> |
---|
44 | |
---|
45 | <div class="actionButtons" tal:condition="view/availableActions"> |
---|
46 | <input tal:repeat="action view/actions" |
---|
47 | tal:replace="structure action/render" |
---|
48 | /> |
---|
49 | </div> |
---|
50 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.