From 0bc3272969460c6c30a2a0cfa305ce878826f26b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= <benoit.pin@gmail.com> Date: Thu, 19 Dec 2013 23:47:28 +0100 Subject: [PATCH] =?utf8?q?Copie=20du=20formulaire=20de=20renommage=20des?= =?utf8?q?=20contenus=20(=C3=A0=20partir=20du=20CMFDefault).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../custom_generic/folder_rename_template.pt | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 skins/custom_generic/folder_rename_template.pt diff --git a/skins/custom_generic/folder_rename_template.pt b/skins/custom_generic/folder_rename_template.pt new file mode 100644 index 0000000..631c004 --- /dev/null +++ b/skins/custom_generic/folder_rename_template.pt @@ -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> -- 2.20.1