diff website/issues/html/user.index.html @ 4644:20e0e5ce217f

Tracker: Following upgrading docs for the "retire" and "remove" buttons.
author Bernhard Reiter <bernhard@intevation.de>
date Thu, 12 Jul 2012 22:24:04 +0200
parents c2d0d3e9099d
children f63a2b15e628
line wrap: on
line diff
--- a/website/issues/html/user.index.html	Thu Jul 12 22:12:58 2012 +0200
+++ b/website/issues/html/user.index.html	Thu Jul 12 22:24:04 2012 +0200
@@ -63,8 +63,12 @@
  <td tal:content="python:user.address.email() or default">&nbsp;</td>
  <td tal:content="python:user.phone.plain() or default">&nbsp;</td>
  <td tal:condition="context/is_edit_ok">
-  <a tal:attributes="href string:user${user/id}?@action=retire&@template=index"
-   i18n:translate="">retire</a>
+     <form style="padding:0" method="POST"
+           tal:attributes="action string:user${user/id}">
+      <input type="hidden" name="@template" value="index">
+      <input type="hidden" name="@action" value="retire">
+      <input type="submit" value="retire" i18n:attributes="value">
+     </form>
  </td>
 </tr>
 </tal:block>

Roundup Issue Tracker: http://roundup-tracker.org/