Collapse: Use $.fn.children instead of `>` in selector

Fixes #15131.
split .form-inline .input-group into separate docs example
Filed http://openradar.appspot.com/18987206

Refs #9774
Merge pull request #15137 from twbs/split-inline-form

split .form-inline .input-group into separate docs example
[skip sauce]