Browse files

Update README.md

Changed the code to reflect recent updates in Formtastic API. f.buttons is now f.actions, and f.commit_button is f.submit.
  • Loading branch information...
1 parent ce27c4e commit 252000f90c7d72eb6db54f58da692c0af1646f80 @hocu hocu committed Mar 6, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -53,8 +53,8 @@ made to generate the HTML expected by Bootstrap while still generating the rich
<%= f.inputs do %>
<%= f.input :title, :hint => "This is the title!" %>
<% end %>
- <%= f.buttons do %>
- <%= f.commit_button %>
+ <%= f.actions do %>
+ <%= f.submit %>
<% end %>
<% end %>

0 comments on commit 252000f

Please sign in to comment.