Skip to content

Use Bootstrap 4 radio button classes.#409

Merged
mattbrictson merged 1 commit intobootstrap-ruby:masterfrom
lcreid:395-radio-classes
Jan 28, 2018
Merged

Use Bootstrap 4 radio button classes.#409
mattbrictson merged 1 commit intobootstrap-ruby:masterfrom
lcreid:395-radio-classes

Conversation

@lcreid
Copy link
Copy Markdown
Contributor

@lcreid lcreid commented Jan 28, 2018

Use the correct Bootstrap 4 classes for radio buttons.

This PR corrects the classes on inline radio buttons, but does not address the overall format (wrapping) of inline radio buttons for Bootstrap 4. That will be in a separate PR.

There is some redundancy in this code, because I chose to try to minimize changes to achieve the desired functionality, rather than refactor to the DRYest state. I expect that the code will naturally get DRYer in the next PR, and that any remaining DRYing up can be handled by a separate PR later.

This is part of the work for #395.

@lcreid lcreid requested review from donv and mattbrictson January 28, 2018 19:56
@bootstrap-ruby-bot
Copy link
Copy Markdown

1 Warning
⚠️ Please update CHANGELOG.md with a description of your changes. If this PR is not a user-facing change (e.g. just refactoring), you can disregard this.

Here's an example of a CHANGELOG.md entry (place it immediately under the * Your contribution here! line):

* [#409](https://github.com/bootstrap-ruby/bootstrap_form/pull/409): Use Bootstrap 4 radio button classes. - [@lcreid](https://github.com/lcreid).

Generated by 🚫 Danger

@mattbrictson
Copy link
Copy Markdown
Contributor

Nice, bite-sized PR. Thanks! 👍

@mattbrictson mattbrictson merged commit 97cec29 into bootstrap-ruby:master Jan 28, 2018
@mattbrictson mattbrictson added this to the 4.0.0 milestone Jan 28, 2018
lcreid added a commit to lcreid/rails-bootstrap-forms that referenced this pull request Jan 28, 2018
@lcreid lcreid deleted the 395-radio-classes branch January 28, 2018 22:41
mattbrictson pushed a commit that referenced this pull request Jan 29, 2018
lcreid added a commit to lcreid/rails-bootstrap-forms that referenced this pull request Jun 4, 2018
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

Successfully merging this pull request may close these issues.

3 participants