use separate `form-group`s in horiz form example for greater generality

Fixes #8925.
This does cause some excess spacing on the checkbox; arguably the checkbox CSS should be tweaked.
/cc @mdo