042fcc0a063c8ab9c05aa32baa62836bc376ee0b
[Plinn.git] / skins / custom_content / file_edit_template.pt
1 <html metal:use-macro="here/main_template/macros/master">
2
3 <head>
4 <title>File Edit Form</title>
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
6 </head>
7
8 <body>
9 <div i18n:domain="cmf_default">
10 <div metal:fill-slot="header">
11 <div metal:use-macro="here/widgets/macros/generic_header">
12 generic_header
13 </div>
14 </div>
15
16 <div class="Desktop" metal:fill-slot="main">
17 <form action="file_edit_form" method="post" enctype="multipart/form-data" tal:attributes="action options/form/action">
18 <input type="hidden" name="noAjax" value="1" />
19 <table class="FormLayout">
20 <tr>
21 <th i18n:translate="">Size</th>
22 <td tal:define="sizeHr python:here.sizehr(here.size)">
23 <span tal:replace="sizeHr/value">12.34</span> <span tal:replace="sizeHr/unit">Ko</span>
24 </td>
25 </tr>
26 <tr>
27 <th i18n:translate="">Content type</th>
28 <td tal:content="here/Format">html/text</td>
29 </tr>
30 <tr>
31 <th i18n:translate="">Upload file</th>
32 <td>
33 <input type="file" name="file" size="35" />
34 </td>
35 </tr>
36 <tr>
37 <td><br /></td>
38 <td>
39 <input type="submit" name="change_and_view" value="Change and View" i18n:attributes="value" />
40 </td>
41 </tr>
42 </table>
43 </form>
44 </div>
45 </div>
46 </body>
47
48 </html>