]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/macros
Fixes to XHTML & CSS compability.
[maypole.git] / templates / factory / macros
index 7aead21b87ae4c5bd369ca5f860cabad739847d5..357c32981ec708da0829db2b4de4e3c58d134d9e 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">
+<div class="field"><input class="actionbutton" type="submit" value="[% action %]" /></div></form>
 [% END %]
 [%#