1 <html xmlns="http://www.w3.org/1999/xhtml" tal:omit-tag="">
3 <head tal:replace="nothing">
4 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
5 <title>slot_text_form</title>
8 <body tal:define="object nocall:options/object;
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">
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" />
23 <textarea class="mosaic_input" tabindex="1" tal:attributes="name python:'.'.join((object.id, 'text')) + ':record:' + castOperator ;
25 rows rows" tal:content="text"></textarea>
28 <input class="mosaic_input" type="text" name="rows:int" size="2" tal:attributes="name python:'.'.join((object.id, 'rows')) + ':record:int'; value rows" />