Copie du formulaire de renommage des contenus (à partir du CMFDefault).
authorBenoît Pin <benoit.pin@gmail.com>
Thu, 19 Dec 2013 22:47:28 +0000 (23:47 +0100)
committerBenoît Pin <benoit.pin@gmail.com>
Thu, 19 Dec 2013 22:47:28 +0000 (23:47 +0100)
skins/custom_generic/folder_rename_template.pt [new file with mode: 0644]

diff --git a/skins/custom_generic/folder_rename_template.pt b/skins/custom_generic/folder_rename_template.pt
new file mode 100644 (file)
index 0000000..631c004
--- /dev/null
@@ -0,0 +1,36 @@
+<html metal:use-macro="context/main_template/macros/master">
+<body>
+
+<metal:slot metal:fill-slot="header" i18n:domain="cmf_default">
+<h1 i18n:translate="">Rename Items</h1>
+</metal:slot>
+
+<metal:slot metal:fill-slot="main" i18n:domain="cmf_default"
+   tal:define="batch options/batch;
+               form options/form">
+<form action="members_manage" method="post"
+   tal:attributes="action form/action"
+><metal:macro metal:use-macro="context/form_widgets/macros/hidden_vars" />
+ <table class="FormLayout">
+  <tr tal:repeat="item_info batch/listItemInfos">
+   <td width="8%"
+   ><img src="" alt="" border="0"
+       tal:attributes="src item_info/icon; alt item_info/type"
+       i18n:attributes="alt" /></td>
+   <td width="20%"
+   ><tal:span tal:replace="item_info/id">ID</tal:span>
+    <input type="hidden" name="ids:list" value=""
+       tal:attributes="value item_info/id" /></td>
+   <td width="5%"
+   ><strong i18n:translate="">to</strong></td>
+   <td
+   ><input type="text" name="new_ids:list" value=""
+       tal:attributes="value item_info/id" size="20" /></td>
+  </tr>
+ </table>
+ <metal:macro metal:use-macro="context/form_widgets/macros/buttons" />
+</form>
+</metal:slot>
+
+</body>
+</html>