[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - rename.pt:1.3
Godefroid Chapelle
gotcha@swing.be
Wed, 9 Apr 2003 04:03:41 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv20821
Modified Files:
rename.pt
Log Message:
- changed form into a table to comply with CSS
- i18n'ed
=== Zope3/src/zope/app/browser/container/rename.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/container/rename.pt:1.2 Tue Feb 11 10:59:29 2003
+++ Zope3/src/zope/app/browser/container/rename.pt Wed Apr 9 04:03:41 2003
@@ -1,18 +1,33 @@
-<html metal:use-macro="views/standard_macros/page">
+<html metal:use-macro="views/standard_macros/page" i18n:domain="zope">
<body>
<div metal:fill-slot="body" >
- <form method="POST" action="@@renameObjects.html">
- <div tal:repeat="id request/ids">
- <span>Name: <tal:block replace="id"/> </span>
- <span>
- New name:
- <input type="hidden" name="ids:list" value=""
- tal:attributes="value id" />
- <input type="text" name="newids:list" value=""
- tal:attributes="value id" />
- </span>
- </div>
- <input type="submit" name="rename" value="rename" />
+ <form method="POST" action="@@renameObjects.html">
+ <table
+ summary="Rename object(s)"
+ i18n:attributes="summary"
+ />
+ <thead>
+ <tr>
+ <th i18n:translate="">Current name</th>
+ <th i18n:translate="">New name</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr tal:repeat="id request/ids">
+ <td tal:content="id" />
+ <td>
+ <input
+ type="hidden" name="ids:list" value=""
+ tal:attributes="value id" />
+ <input
+ type="text" name="newids:list" value=""
+ tal:attributes="value id" />
+ </td>
+ </tr>
+ </tbody>
+ <table>
+
+ <input type="submit" name="rename" value="rename" i18n:attributes="value" />
</form>
</div>
</body>