]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/macros
Changed CSS buttons to POST buttons
[maypole.git] / templates / factory / macros
index 7aead21b87ae4c5bd369ca5f860cabad739847d5..ddd9ffbb10f47cfdb1dd945f9c62dc5f8c843c03 100644 (file)
@@ -81,8 +81,8 @@ This is a generic button, which performs an action on an object.
 
 #%]
 [% MACRO button(obj, action) BLOCK; %]
-<a class="action" href="[% base %]/[% obj.table %]/[% action %]/[% obj.id %]">
-    [% action %]</a>
+<form class="actionform" action="[% base %]/[% obj.table %]/[% action %]/[% obj.id %]" method=POST>
+    <input id="actionbutton" type="submit" value="[% action %]" /></form>
 [% END %]
 [%#