source: WAeUP_SRP/trunk/skins/waeup_student/widget_scratch_card_pin_render.pt @ 529

Last change on this file since 529 was 523, checked in by joachim, 18 years ago

using home_student as defaultview

File size: 934 bytes
Line 
1<tal:block define="mode options/mode;
2                   id here/getWidgetId;
3                   id_b string:${id}_b;
4                   id_n string:${id}_n;
5                   prefix options/prefix;
6                   batch options/datastructure/?id_b;
7                   nr options/datastructure/?id_n;
8">
9<tal:block condition="python: mode == 'view'">
10<span tal:replace="prefix" />-<span tal:replace="batch" />-<span tal:replace="nr" />
11</tal:block>
12<tal:block define="name here/getHtmlWidgetId;"
13           condition="python: mode == 'edit'">
14  <span tal:replace="prefix" />-
15  <input type="text" size="2" maxlength="2"
16    tal:attributes="name string:${name}_b;
17                    id string:${name}_b;
18                    value batch" />-
19  <input type="text" size="10" maxlength="10"
20    tal:attributes="name string:${name}_n;
21                    id string:${name}_n;
22                    value nr" />
23</tal:block>
24</tal:block>
Note: See TracBrowser for help on using the repository browser.