File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed
Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change 3737 < th tal:repeat ="prop props " tal:content ="prop "> </ th >
3838 </ tr >
3939 < tr tal:repeat ="item batch ">
40- < td >
41- < input type ="checkbox " name ="check "
42- onclick ="updatePreview(); "
43- tal:condition ="python:start==0 "
44- tal:define ="attr python:item[props[0]] "
45- tal:attributes ="value attr; id attr " />
46- </ td >
47- < td tal:repeat ="prop props ">
48- < label class ="classhelp-label "
49- tal:attributes ="for python:item[props[0]] "
50- tal:content ="structure python:item[prop] "> </ label >
51- </ td >
40+ < tal:block tal:define ="attr python:item[props[0]] ">
41+ < td >
42+ < input type ="checkbox " name ="check "
43+ onclick ="updatePreview(); "
44+ tal:condition ="python:start==0 "
45+ tal:attributes ="value attr; id string:id_$attr " />
46+ </ td >
47+ < td tal:repeat ="prop props ">
48+ < label class ="classhelp-label "
49+ tal:attributes ="for string:id_$attr "
50+ tal:content ="structure python:item[prop] "> </ label >
51+ </ td >
52+ </ tal:block >
5253 </ tr >
5354 < tr >
5455 < th > < b > x</ b > </ th >
You can’t perform that action at this time.
0 commit comments