Last change
on this file since 6638 was
6638,
checked in by Henrik Bettermann, 13 years ago
|
Add studentbasemanagepage which allows performing transitions. Add tests.
|
File size:
1.8 KB
|
Line | |
---|
1 | <form action="." tal:attributes="action request/URL" method="post" |
---|
2 | class="edit-form" enctype="multipart/form-data"> |
---|
3 | |
---|
4 | <div class="form-status" |
---|
5 | tal:define="status view/status" |
---|
6 | tal:condition="status"> |
---|
7 | Form Status: |
---|
8 | <span i18n:translate="" tal:content="view/status"> |
---|
9 | Form status summary |
---|
10 | </span> |
---|
11 | </div> |
---|
12 | |
---|
13 | <table class="form-fields zebra"> |
---|
14 | <tbody> |
---|
15 | <tal:block repeat="widget view/widgets"> |
---|
16 | <tr> |
---|
17 | <td class="label"> |
---|
18 | <label tal:attributes="for widget/name"> |
---|
19 | <span class="required" tal:condition="widget/required">*</span> |
---|
20 | <span i18n:translate="" tal:content="widget/label">label</span>: |
---|
21 | </label> |
---|
22 | </td> |
---|
23 | <td class="field"> |
---|
24 | <span class="widget" tal:content="structure widget"> |
---|
25 | <input type="text" /> |
---|
26 | </span> |
---|
27 | <tal:error tal:condition="widget/error"> |
---|
28 | <span tal:replace="structure widget/error">error</span> |
---|
29 | </tal:error> |
---|
30 | <tal:hint tal:condition="widget/hint"> |
---|
31 | <span class="hint" tal:content="structure widget/hint">hint</span> |
---|
32 | </tal:hint> |
---|
33 | </td> |
---|
34 | </tr> |
---|
35 | </tal:block> |
---|
36 | <tr> |
---|
37 | <td class="label"><label>Application Transition:</label></td> |
---|
38 | <td> |
---|
39 | <select id="transition" name="transition"> |
---|
40 | <option tal:repeat="transition view/getTransitions" |
---|
41 | tal:attributes="value transition/name"> |
---|
42 | <span tal:replace="transition/title">TRANSITIONTITLE</span> |
---|
43 | </option> |
---|
44 | </select> |
---|
45 | </td> |
---|
46 | </tr> |
---|
47 | </tbody> |
---|
48 | </table> |
---|
49 | |
---|
50 | <div class="actionButtons" tal:condition="view/availableActions"> |
---|
51 | <input tal:repeat="action view/actions" |
---|
52 | tal:replace="structure action/render" |
---|
53 | /> |
---|
54 | </div> |
---|
55 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.