diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-10 07:46:41 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-10 07:46:41 +0000 |
commit | 96eb9bb3fa1d805df967f44d13876f57b8ea121d (patch) | |
tree | 4e884eab9705030a654d874da06cd942f79a0917 /templates | |
parent | 54c90b2d41488657c583e657b16e363c9eb999fa (diff) | |
download | ikiwiki-96eb9bb3fa1d805df967f44d13876f57b8ea121d.tar ikiwiki-96eb9bb3fa1d805df967f44d13876f57b8ea121d.tar.gz |
* Work around a strange bug in CGI::FormBuilder 3.0401 that makes
FORM-SUBMIT unusable on customised formbuilder templates. For now,
hardcode the submit buttons in editpage.tmpl instead of using the
template variable, which is ok, since the buttons are static.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/editpage.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl index 6030fa2c1..ad1faa3a5 100644 --- a/templates/editpage.tmpl +++ b/templates/editpage.tmpl @@ -41,7 +41,7 @@ Page type: <TMPL_VAR FIELD-TYPE> Optional comment about this change:<br /> <TMPL_VAR FIELD-COMMENTS><br /> </TMPL_IF> -<TMPL_VAR FORM-SUBMIT> +<input id="_submit" name="_submit" type="submit" value="Save Page" /><input id="_submit_2" name="_submit" type="submit" value="Preview" /><input id="_submit_3" name="_submit" type="submit" value="Cancel" /> <TMPL_VAR HELPONFORMATTINGLINK> <TMPL_VAR FORM-END> <TMPL_IF NAME="PAGE_PREVIEW"> |