Bugfix : la connexion Solr peut se volatiliser plus vite que le hook de transaction…
[Plinn.git] / skins / custom_generic / folder_rename_template.pt
index 631c004..f6fe694 100644 (file)
@@ -1,36 +1,37 @@
-<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 xmlns:tal="http://xml.zope.org/namespaces/tal"
+      xmlns:metal="http://xml.zope.org/namespaces/metal"
+      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
+      metal:use-macro="context/main_template/macros/master">
+  <body i18n:domain="plinn">
+    <h1 metal:fill-slot="header" i18n:translate="">Rename Items</h1>
+    <div metal:fill-slot="main"
+         tal:define="batch options/batch;
+                     form options/form">
+      <form method="post" tal:attributes="action form/action">
+        <table class="listing" cellspacing="0">
+          <tr>
+            <th><br/></th>
+            <th i18n:translate="">Title</th>
+            <th><br/></th>
+            <th i18n:translate="">URL</th>
+          </tr>
+          <tr tal:repeat="item_info batch/listItemInfos">
+            <td>
+              <img src="" alt="" border="0" tal:attributes="src item_info/icon; alt item_info/type" i18n:attributes="alt"/>
+              <input type="hidden" name="noAjax" value="noAjax"/>
+              <input type="hidden" name="items.id:records" value="" tal:attributes="value item_info/id"/>
+            </td>
+            <td>
+              <input type="text" name="items.title:records" tal:attributes="value item_info/title"/>
+            </td>
+            <td>•</td>
+            <td>
+              <input type="text" name="items.new_id:records" value="" tal:attributes="value item_info/id"/>
+            </td>
+          </tr>
+        </table>
+        <metal:macro metal:use-macro="context/form_widgets/macros/buttons"/>
+      </form>
+    </div>
+  </body>
 </html>