Rails Bootstrap Forms v2.1.0 Release Notes
Release Date: 2014-04-01 // about 10 years ago-
๐ Moved GitHub repository from https://github.com/potenza/bootstrap_form ๐ to https://github.com/bootstrap-ruby/bootstrap_form
๐ Bugfixes:
- i18n fix for checkbox labels (@i10a)
- Wrapped date & time helpers inside control-specific css classes to prevent stacking
- control-label class was not being added unless the form was horizontal (@slave2zeros)
- selects & collection selects were dropping label options
- allow html content in check_box tag label (@desheikh)
- allow check_box label to be defined with a block
- omit form-control class from file_field (@mbrictson)
- Collection inputs honour
checked
attribute (@desheikh) - Fixing label/input pairing for checkbox collections (@byped)
- Removing for attribute on radio button labels (@sigmike)
๐ Features:
- The control_class can be overridden per field by passing in the :control_class option. Default value is "form-control".
- Make name optional in FormBuilder#submit (@adrpac)
- Added the FormBuilder#primary helper back in
- Added a FormBuilder#static_control helper
- Added support for radio_buttons_collection and check_boxes_collection
- Added a FormBuilder#error_summary helper method
- inline_errors can be turned off: bootstrap_form_for(obj, inline_errors: false) When inline errors are off, FormBuilder#alert_message contains the error summary. This can also be turned off with the option 'error_summary: false'
- Added support for: color_field, date_field, datetime_field, datetime_local_field, month_field, range_field, search_field (#42), time_field, week_field
- Added ability to override the left/right classes for a particular control when using horizontal forms. (@baldwindavid)
- Added support for grouped_collection_select (@rzane)
- Added support of Rails 4 syntax for collection inputs (@desheikh)
- Renamed options :left to :label_col and :right to :control_col
- Renamed option :style to :layout (@baldwindavid)
- Added errors_on helper (@baldwindavid)
- Added per field layout option (@baldwindavid)
- Added support for bootstrap_form_tag (@baldwindavid)
๐ [Pending Release]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.1.0...HEAD ๐ [5.1.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.0.0...v5.1.0 ๐ [5.0.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.5.0...v5.0.0 ๐ [4.5.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.4.0...v4.5.0 ๐ [4.4.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.3.0...v4.4.0 ๐ [4.3.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.2.0...v4.3.0 ๐ [4.2.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.1.0...v4.2.0 ๐ [4.1.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.0.0...v4.1.0 ๐ [4.0.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v4.0.0.alpha1...v4.0.0 ๐ [4.0.0.alpha1]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.7.0...v4.0.0.alpha1 ๐ [2.7.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.6.0...v2.7.0 ๐ [2.6.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.5.3...v2.6.0 ๐ [2.5.3]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.5.2...v2.5.3 ๐ [2.5.2]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.5.1...v2.5.2 ๐ [2.5.1]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.5.0...v2.5.1 ๐ [2.5.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.4.0...v2.5.0 ๐ [2.4.0]: https://github.com/bootstrap-ruby/bootstrap_form/compare/v2.3.0...v2.4.0