Releases: lcreid/rails-bootstrap-forms
Releases · lcreid/rails-bootstrap-forms
2.5.3
There are no user-facing changes with this release. Behind the scenes, the tests have been greatly improved. The project is now tested against and compatible with the following Rails versions 4.0, 4.1, 4.2 and 5.0 (bootstrap-ruby#278).
2.5.2
Bugfixes:
- Allow objects without
model_names to act as form objects (bootstrap-ruby#295, @laserlemon) - Fix offset for submit for horizontal forms when using non-sm column breakers for label column (bootstrap-ruby#293, @oteyatosys)
2.5.2
Bugfixes:
- Allow objects without
model_names to act as form objects (bootstrap-ruby#295, @laserlemon) - Fix offset for submit for horizontal forms when using non-sm column breakers for label column (bootstrap-ruby#293, @oteyatosys)
2.5.1
2.5.1
2.5.0
Bugfixes:
- Sanitize name (IE
forattribute) in same manner that Rails sanitizes
theidattribute to fix a11y issue withforandidmismatch - Fix loading of ActionView helpers in combination with RSpec and
rails-controller-testing. (see rails-controller-testing/issues#24)
Features:
- Add support for input-group-sm and input-group-lg in prepend/append (bootstrap-ruby#226, @rusanu)
- Added option to prevent the 'required' CSS class on labels (bootstrap-ruby#205, @LUCASAU)
2.4.0
This version is ready to use with Rails 5.0.0!
Bugfixes:
- Minor README corrections (bootstrap-ruby#184, @msmithstubbs)
- Fix
alias_method_chaindeprecation warnings when using Rails 5 - Allow
form_groupto work with frozen string options
Features:
- Allow primary button classes to be overridden (bootstrap-ruby#183, @tanimichi)
- Allow to pass a block to select helper in Rails >= 4.1.0 (bootstrap-ruby#229, @doits)
2.3.0
Bugfixes:
- Use #underscore, not #downcase for help text scope (bootstrap-ruby#140, @atipugin)
- Radio button and checkbox labels will now include the disabled class as needed. (bootstrap-ruby#156, @scottswezey)
- Fixed issue with setting offset in form_group without label in horizontal layout
when form uses non-default label_col - Fixed wrapper options (bootstrap-ruby#153, @veilleperso)
- Fix errors on non-ActiveRecord setups (bootstrap-ruby#200, @sgnn7)
Features:
- Allow users to display validation errors in labels (bootstrap-ruby#144, @timcheadle)
- Use humanized attribute name in label errors (bootstrap-ruby#146, @atipugin)
- Allow to skip label rendering (bootstrap-ruby#145, @atipugin)
- Added a
requiredCSS class for labels with required attributes (bootstrap-ruby#150, @krsyoung) - Added option to customize labels' class.
- Allow callable value_method and text_method for collection_check_boxes and collection_radio_buttons (bootstrap-ruby#199, @shadwell)
2.2.0
Bugfixes:
- Fixed an exception raised when form_group block returns nil (bootstrap-ruby#111)
- Fixed an exception on human_attribute_name when using bootstrap_form_tag (bootstrap-ruby#115)
- Set offset in form_group without label in horizontal layout (bootstrap-ruby#94, @datWav)
- Fixes an offset bug in form_group without a given label in horizontal layout (bootstrap-ruby#130, @datWav)
- Fixed bug where collection_check_boxes doesn't work if all are unchecked (bootstrap-ruby#116, @burnt43)
Features:
- Added the ability to append/prepend buttons (@retoo)
- Added support for time_zone_select
- Accept multiple values, and objects as well, on
collection_check_boxes
checked option (bootstrap-ruby#114) - Added support for hidding attribute name in errors_on helper (@datWav)
- Added support for additional class to the wrapper form_group by a field (@datWav)
- Support showing error summaries when inline_errors is enabled (@rosswilson)
- Name is now optional when creating static controls
- Keep original form helper methods with _without_bootstrap suffix (bootstrap-ruby#123, @a2ikm)
- Added glyphicon support
- Added i18n support for help messages (bootstrap-ruby#122, @huynhquancam)
- Added the ability to pass any attributes to wrapper (bootstrap-ruby#136, @atipugin)
- Split monolithic test file into several smaller files (bootstrap-ruby#141, @spacewander)
- Added role="form" attribute to forms (bootstrap-ruby#142, @spacewander)
2.1.1
Bugfixes:
- Do not reset additional classes on the form-group (@rzane)
- Fixed an exception when specifying a label while using bootstrap_form_tag
Features:
- nested_form integration via
bootstrap_nested_form_for(bootstrap-ruby#44 and bootstrap-ruby#66) form_groupno longer requires a name (bootstrap-ruby#83)