Début de refactoring.
[Plinn.git] / skins / custom_content / document_edit_template.pt
1 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/master">
2
3 <head>
4 <title>Document edit form</title>
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
6 <link href="zpt_stylesheet.css" rel="stylesheet" media="screen"/>
7 </head>
8
9 <body>
10 <div i18n:domain="cmf_default">
11 <div metal:fill-slot="header">
12 <div metal:use-macro="here/widgets/macros/generic_header">
13 generic_header macro
14 </div>
15 </div>
16 <div id="Desktop">
17 <div metal:fill-slot="main">
18 <form action="document_edit_form" method="post" enctype="multipart/form-data"
19 tal:attributes="action string:${here/absolute_url}/document_edit_form">
20 <table class="FormLayout">
21 <tr>
22 <td class="TextField" colspan="2" i18n:translate="">
23 <div tal:define="inputname string:text; formname string:edit_form; inputvalue here/text" tal:omit-tag="">
24 <div metal:use-macro="here/wysiwyg_support/macros/wysiwygEditorBox">
25 Wysiwig Code
26 </div>
27 </div>
28 </td>
29 </tr>
30 <tr>
31 <td colspan="2">
32 <div metal:use-macro="here/wysiwyg_support/macros/textFormatSelector">
33 Format box, if needed
34 </div>
35 </td>
36 </tr>
37 <!--
38 <tr>
39 <th nowrap="nowrap" i18n:translate="">External file</th>
40 <td width="100%">
41 <input type="file" name="file" size="25" />
42 </td>
43 </tr>
44 -->
45 <tr>
46 <td><br /></td>
47 <td width="100%">
48 <input type="submit" name="change_and_view" value="Change and View" i18n:attributes="value" />
49 </td>
50 </tr>
51 </table>
52 </form>
53 </div>
54 </div>
55 </div>
56 </body>
57
58 </html>