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

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

A trunk/skins/waeup_student/widget_scratch_card_pin_render.pt
M trunk/WAeUPTables.py
M trunk/ScratchCards.py

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