Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space-separated classes with btn-primary do not keep btn-default from being added #29

Open
marcp opened this issue Oct 17, 2016 · 1 comment

Comments

@marcp
Copy link
Contributor

marcp commented Oct 17, 2016

button_to('Test', '/test', class: 'xyz btn-primary') adds 'btn-default' to the generated html.

button_to('Test', '/test', class: ['xyz', 'btn-primary']) does not add 'btn-default' to the generated html.

I have a patch that makes the first one do the same thing the second one does.

@doabit
Copy link
Owner

doabit commented Nov 20, 2016

@marcp Welcome pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants