bootstrap-sass-extras icon indicating copy to clipboard operation
bootstrap-sass-extras copied to clipboard

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

Open marcp opened this issue 8 years ago • 1 comments

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.

marcp avatar Oct 17 '16 21:10 marcp

@marcp Welcome pr.

doabit avatar Nov 20 '16 08:11 doabit