diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-07 00:42:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-07 00:42:20 +0000 |
commit | f765ff46eb8f741f6e6e4ddc49ed17d251860d9c (patch) | |
tree | 1827b095d19aac2e203f52e6196220c581740793 | |
parent | 9c917e82fce6284fcf5ae4b1b7ddf5a6be512298 (diff) | |
download | acf-core-f765ff46eb8f741f6e6e4ddc49ed17d251860d9c.tar.bz2 acf-core-f765ff46eb8f741f6e6e4ddc49ed17d251860d9c.tar.xz |
Modified htmlviewfunctions to add form cfe class to submit button(s)
-rw-r--r-- | lib/htmlviewfunctions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/htmlviewfunctions.lua b/lib/htmlviewfunctions.lua index 9c4e651..1713172 100644 --- a/lib/htmlviewfunctions.lua +++ b/lib/htmlviewfunctions.lua @@ -294,7 +294,7 @@ function mymodule.displayformend(myform, header_level) io.write('value="' .. html.html_escape(v) .. '">\n') end else - io.write('<input class="submit" type="submit" ') + io.write('<input class="'..html.html_escape(myform.class)..' submit" type="submit" ') if "form" == myform.type then io.write('name="submit" ') end |