_finishConsrtuction a disparu => les slots ne sont plus construits. On assure donc...
[MosaicDocument.git] / default_slots / slot_text_form.pt
1 <html xmlns="http://www.w3.org/1999/xhtml" tal:omit-tag="">
2
3 <head tal:replace="nothing">
4 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
5 <title>slot_text_form</title>
6 </head>
7
8 <body tal:define="object nocall:options/object;
9 cols object/cols;
10 rows object/rows;
11 castOperator object/castOperator|string:text;
12 text python:(castOperator=='lines' and ['\n'.join(object.text),] or [object.text,])[0]" tal:omit-tag="">
13 <table border="0" cellspacing="2" cellpadding="0">
14 <tr>
15 <td align="center">
16 <input class="mosaic_input" type="text" name="cols:int" size="2"
17 tal:attributes="name python:'.'.join((object.id, 'cols')) + ':record:int'; value cols" />
18 </td>
19 <td></td>
20 </tr>
21 <tr>
22 <td>
23 <textarea class="mosaic_input" tabindex="1" tal:attributes="name python:'.'.join((object.id, 'text')) + ':record:' + castOperator ;
24 cols cols ;
25 rows rows" tal:content="text"></textarea>
26 </td>
27 <td>
28 <input class="mosaic_input" type="text" name="rows:int" size="2" tal:attributes="name python:'.'.join((object.id, 'rows')) + ':record:int'; value rows" />
29 </td>
30 </tr>
31 </table>
32 </body>
33
34 </html>