In Bootstrap there is a nice horizontal form option. But in Drupal + Bootstrap base theme I couldn't find any ways to use this horizontal forms and layout form elements as it described, eg. col-2 for labels and col-10 for inputs.
The only way I found is Strapped theme (https://www.drupal.org/project/strapped) but it is in dev stage and I don't need one more base theme.
Bootstrap is so popular along with horizontal forms and I don't want to believe there is no way to solve this problem.
Or everybody uses hook_form_alter()
and render horizontal form somehow in code?
Thanks in advance.
hook_form_alter()
is the only way I can think of. I can't find module out of the box.