Created
October 28, 2013 15:08
-
-
Save royzinn/7198456 to your computer and use it in GitHub Desktop.
issue with bootstrap_form (wrong number of arguments (4 for 5))
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= bootstrap_form_for(@item, html: { class: 'form-horizontal' }, help: :block) do |f| | |
= f.alert_message "Please fix the errors below." | |
= f.text_field :name | |
= f.text_area :description | |
= f.number_field :type | |
= f.number_field :condition | |
= f.actions do | |
= f.primary 'Create My Account', disable_with: 'Saving...' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment