stouset/twitter_bootstrap_form_for

bootstrap-2.0 branch - "button" based form helpers broken for rails 3.0.x

jro opened this issue · 1 comments

jro commented

I'm not sure if this is a documentation issue or a code issue but on rails 3.0.9 I get the following error when doing a submit button. I'm assuming that was added in either rails 3.1.x or 3.2.x

ActionView::Template::Error (super: no superclass method `button'):
49: <% end %>
50:
51: <%= f.actions do %>
52: <%= f.submit(@issue.new_record? ? 'Create' : 'Save') %>
53:
54:
55: <% end %>

I'll take a look at this. Good catch.