Conversation
3c8a826 to
7d4043e
Compare
|
This PR probably should be closed as it's not correct for Boostrap4 beta3
Let's close this and promote bootstrap-v4 to master so we can start working on it. |
|
@GBH good finds. Should we still merge this branch into |
16d82d6 to
a68a242
Compare
|
Rebased against latest |
|
@mattbrictson I think it's fine to merge. Let's just promote everything v4 to master so new PRs can be made. |
lcreid
left a comment
There was a problem hiding this comment.
I (and I'm sure many other people) have been using the bootstrap-4 branch for some time. We should merge this and fix up the small differences between Bootstrap 4 when this PR was done, and Bootstrap 4 as it is now (e.g. has-danger).
| ```html | ||
| <div class="form-group has-error"> | ||
| <label class="control-label" for="user_email">Email</label> | ||
| <div class="form-group has-danger"> |
There was a problem hiding this comment.
As @GBH pointed out, has-danger isn't in Bootstrap 4 anymore. We should either fix the PR, or merge and remember to fix. Whatever is easier.
There was a problem hiding this comment.
I vote for merge and fix later or this is going to be sitting here for weeks.
|
|
||
| def error_class | ||
| "has-error" | ||
| "has-danger" |
There was a problem hiding this comment.
TODO: Fix this class. I think we want is-invalid now, but correct me if I'm wrong.
This is our official PR that consolidates all changes needed to support Bootstrap v4.
This PR is a work in progress. It may or may not be merged, depending on whether we decide to publish this as a separate version or even spin it off as a separate gem. If you have ideas or feedback on these logistical topics, please join the discussion here: #268
If you would like to try this preliminary Bootstrap v4 support in your Rails project, use the following Gemfile entry:
If you would like to contribute to this branch (i.e. fix bugs or provide wrappers for additional v4 features), please open your own PR and use
rails-bootstrap-forms:bootstrap-v4as the base branch. If and when your PR is reviewed and merged, it will become part of this larger PR.Thanks for your help!