Some questions have been raised about options, like layout: inline/inline:true, that can be specified at the form level (on bootstrap_form_for, bootstrap_form_tag, or bootstrap_form_with), or at the individual element level (on checkbox for example). The documentation may be unclear or wrong, the code may be wrong, or both.
This issue is intended to capture the discussion around these options. It may lead to more specific issues and pull requests. Please contribute your thoughts.
From: #410 (review):
Some parts of the README imply that you just add layout: :inline to bootstrap_form_for and you are done. But that is either broken or the doc is wrong, because as I see in the tests, you must explicitly pass inline: true to each radio or checkbox (in addition to passing layout: :inline for the form?).
The options that should be looked at are:
layout: inline/inline:true
layout: horizontal
hide_label
skip_label
label_class
label_col
control_col
inline_errors
label_errors
Please add any other options that you think should be considered.
Some questions have been raised about options, like
layout: inline/inline:true, that can be specified at the form level (onbootstrap_form_for,bootstrap_form_tag, orbootstrap_form_with), or at the individual element level (oncheckboxfor example). The documentation may be unclear or wrong, the code may be wrong, or both.This issue is intended to capture the discussion around these options. It may lead to more specific issues and pull requests. Please contribute your thoughts.
From: #410 (review):
The options that should be looked at are:
layout: inline/inline:truelayout: horizontalhide_labelskip_labellabel_classlabel_colcontrol_colinline_errorslabel_errorsPlease add any other options that you think should be considered.