To use an inline-layout form, use the layout: :inline option. To hide labels, use the hide_label: true option, which keeps your labels accessible to those using screen readers.
The following has been tested for normal input fields of type text in most recent Safari, Firefox, Chrome on mac os x. Here is a sample html markup, it includes some ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results