Skip to content

Commit

Permalink
Merge pull request formtastic#726 from tmiller/patch-1
Browse files Browse the repository at this point in the history
Update commit_button documentation
  • Loading branch information
justinfrench committed Oct 24, 2011
2 parents 373fbd4 + 186d548 commit c26e551
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions lib/formtastic/helpers/buttons_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
#
Expand Down

0 comments on commit c26e551

Please sign in to comment.