bevanb
bevanb

Reputation: 8511

How to not use Foundation styling for buttons in Rails

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

Answers (1)

Tony Vincent
Tony Vincent

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

Related Questions