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.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results