eggification
[MosaicDocument.git] / Products / MosaicDocument / default_slots / slot_file_form.pt
1 <html tal:omit-tag="">
2 <head tal:replace="nothing">
3 <title>slot_file_form</title>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8">
5 </head>
6 <body tal:define="object nocall:options/object;
7 title python:object and object.title or ''"
8 i18n:domain="plinn"
9 tal:omit-tag="">
10 <h3 i18n:translate="" style="display : inline">File</h3>
11 <span i18n:translate="" tal:omit-tag="">Title</span> :
12 <input type="text" class="mosaic_input"
13 tal:attributes="name python:'.'.join((object.getId(), 'title')) + ':record:string' ;
14 value title" />
15 <span>
16 (
17 <span i18n:translate="" tal:omit-tag="">Source file: </span>
18 <span tal:condition="python:object.filename is None or object.filename == '' or object.filename == 'file'" i18n:translate="">None</span>
19 <span tal:condition="python:not(object.filename is None or object.filename == '' or object.filename == 'file')" tal:content="object/filename">File name</span>
20 )
21 </span><br/>
22 <input type="file" size="16" class="mosaic_input"
23 tal:attributes="name python:'.'.join((object.getId(), 'file')) + ':record'" />
24 <input type="hidden" name="noAjax" value="1" />
25 </body>
26 </html>