Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update commit_button documentation

  • Loading branch information...
commit 186d548990afc296c3012c15cfe9ce09ec7dc7a8 1 parent 373fbd4
Tom Miller authored
Showing with 8 additions and 4 deletions.
  1. +8 −4 lib/formtastic/helpers/buttons_helper.rb
View
12 lib/formtastic/helpers/buttons_helper.rb
@@ -22,7 +22,7 @@ module Helpers
# ...
# <fieldset class="buttons">
# <ol>
- # <li class="commit">
+ # <li class="commit button">
# <input type="submit" name="commit" value="Create Post" class="create">
# </li>
# </ol>
@@ -76,9 +76,9 @@ module ButtonsHelper
#
# # Output:
# <form ...>
- # <fieldset class="inputs">
+ # <fieldset class="buttons">
# <ol>
- # <li class="commit">
+ # <li class="commit button">
# <input type="submit" ...>
# </li>
# </ol>
@@ -203,7 +203,11 @@ def buttons(*args, &block)
# <form ...>
# ...
# <fieldset class="buttons">
- # <input name="commit" type="submit" value="Create Post" class="create">
+ # <ol>
+ # <li class="commit button">
+ # <input name="commit" type="submit" value="Create Post" class="create">
+ # </li>
+ # </ol>
# </fieldset>
# </form>
#
Please sign in to comment.
Something went wrong with that request. Please try again.