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

Use Bootstrap 4 radio button classes. #409

Merged
merged 1 commit into from
Jan 28, 2018

Conversation

lcreid
Copy link
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

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
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