@# Expand to a submit button
@# @text is the text to put inside the button
@define {submit} {text}
- {<span class=buttonouter><button class=button name=submit type=submit><span class=buttoninner>@text</span></button></span>}
+ {<button class=button name=submit type=submit>@text</button>}
+
+@# Expand to an action button
+@# @text is the text to put inside the button
+@# @long is the text to put in the caption
+@# @action is the target action
+@define {actbutton} {text long action}
+ {<form method=GET class=button action="@url">
+ <input type=hidden name=action value="@action">
+ <input type=submit name=submit value="@text" title="@long">
+@formback@#
+ </form>}
+@# TODO @back support
+
+@# Used for inserting back= elements
+@define {back} {} {}
+@define {formback} {} {}
Local variables:
mode:sgml