Reputation: 8511
I'm using Foundation in my Rails app.
The button
class is added to all form buttons when I use simple_form
.
How can I avoid that without overriding the button
class?
Upvotes: 0
Views: 24
Reputation: 14272
Edit the config/initializers/simple_form.rb
initializer
You can find
# Default class for buttons
config.button_class = 'button'
comment it or change it as you wish
Upvotes: 1