justinfrench/formtastic — pull request #726 by tmiller (2011-10-24 22:23:24+00:00)
Title: Update commit_button documentation

When `button` was added to the array in `Formtastic::Helpers::ButtonHelpers#commit_button_wrapper_html_css` the documentation was never updated to reflect the changes. I changed the output html to include the new class.

Might I ask why button was added? We reuse a button class for all buttons, even those that are not in a form and we don't always wrap li's around it. I monkey patched it in the formtastic initializer, would this be the preferred method of overriding this behavior?