bootstrap_form
bootstrap_form copied to clipboard
Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5.
The following code snippet provided in the documentation is not functioning as expected when used with Phlex framework: `f.email_field(:email, append: link_to("Go", "#", class: "btn btn-secondary")) ` Instead of rendering the...
Hi. In the last update your added magic .offset-col-X for the check boxes in bootstrap forms with horizontal layout - which is cool. It derives an offset by the label_col...
`` generates: ```html Excellence ``` According to the [Bootstrap 5 docs](https://getbootstrap.com/docs/5.3/forms/range/), the input should have the class `form-range`, not `form-control`.
…s variable. It’s been replaced by .text-body-secondary and $body-secondary-color. https://getbootstrap.com/docs/5.3/migration/
I want to create input group like this with bootstrap_form. It is made by following code. ```html @ ``` So, I thought it works well appending '@' and domain part...
Based on https://github.com/bootstrap-ruby/bootstrap_form/pull/686 this allows to provide also `help` option in the arguments: ```haml = f.check_box :is_active, help: 'If checked, this item is active and will be used.' ``` 
Hello, I'm experiencing an inconsistency with the wrapper_class option when using the check_box helper in the bootstrap_form gem. For most form elements like text_field and file_field, specifying a wrapper_class will...
```ruby ff.collection_check_boxes( controller, Adm::ABILITY_ACTIONS, :second, :first, { checked: controller.include?(second) }, ) ``` When I try to use collection_check_boxes method, I can not set checked attribute for elements. Am I missing...