stouset / twitter_bootstrap_form_for

A Rails FormBuilder DSL for generating Twitter Bootstrap forms
https://github.com/stouset/twitter_bootstrap_form_for
MIT License
409 stars 110 forks source link

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

Open jro opened 12 years ago

jro commented 12 years ago

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 %>

stouset commented 12 years ago

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