Last change
on this file since 1234 was
805,
checked in by joachim, 18 years ago
|
propset Id
|
-
Property svn:keywords set to
Id
|
File size:
987 bytes
|
Line | |
---|
1 | <tal:block define="mode options/mode; |
---|
2 | id here/getWidgetId; |
---|
3 | id_p string:${id}_p; |
---|
4 | id_b string:${id}_b; |
---|
5 | id_n string:${id}_n; |
---|
6 | prefix options/datastructure/?id_p; |
---|
7 | batch options/datastructure/?id_b; |
---|
8 | nr options/datastructure/?id_n; |
---|
9 | "> |
---|
10 | <tal:block condition="python: mode == 'view'"> |
---|
11 | <span tal:replace="prefix" />-<span tal:replace="batch" />-<span tal:replace="nr" /> |
---|
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.