Skip to content

Support :prepend and :append for the select helper#325

Merged
mattbrictson merged 1 commit intobootstrap-ruby:masterfrom
donv:master
Apr 20, 2017
Merged

Support :prepend and :append for the select helper#325
mattbrictson merged 1 commit intobootstrap-ruby:masterfrom
donv:master

Conversation

@donv
Copy link
Copy Markdown
Collaborator

@donv donv commented Apr 18, 2017

Fixes #147

Copy link
Copy Markdown
Contributor

@mattbrictson mattbrictson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks for the PR! ✨

I just found one nitpick in the test. Let me know if you think that needs to be corrected before I merge.

<select class="form-control" id="user_status" name="user[status]"><option value="1">activated</option>
<option value="2">blocked</option></select>
<span class="input-group-addon">After</span>
</div>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there another </div> needed here?

Copy link
Copy Markdown
Collaborator Author

@donv donv Apr 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, absolutely. I added the </div> and structured the HTML example a little better as well.

@mattbrictson
Copy link
Copy Markdown
Contributor

Awesome, thank you 🙌

@mattbrictson mattbrictson merged commit 0fba844 into bootstrap-ruby:master Apr 20, 2017
@donv
Copy link
Copy Markdown
Collaborator Author

donv commented Apr 21, 2017

@mattbrictson How do we propagate this to the bootstrap-v4 branch?

@mattbrictson
Copy link
Copy Markdown
Contributor

@donv Can you create a new branch from the latest commit of bootstrap-v4 and then cherry pick commit 0fba844 ? Then when you open a PR, make sure the base branch of the PR is set to bootstrap-v4.

That's assuming the cherry-pick goes cleanly. Let me know if it doesn't work out.

@donv
Copy link
Copy Markdown
Collaborator Author

donv commented Apr 24, 2017

@mattbrictson OK, will do.

@donv
Copy link
Copy Markdown
Collaborator Author

donv commented Apr 24, 2017

@mattbrictson OK, added #327

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