Skip to content

Commit 98a9812

Browse files
committed
Preparing v5.2.1
1 parent 92630bf commit 98a9812

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ https://github.com/bootstrap-ruby/bootstrap_form/releases
77
## Diffs
88

99
- [Pending Release](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.2.0...HEAD)
10+
- [5.2.1](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.2.0...v5.2.1)
11+
[Issues](https://github.com/bootstrap-ruby/bootstrap_form/issues?q=closed%3A2023-05-20T23%3A59..2023-05-23T10%3A00)
1012
- [5.2.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.1.0...v5.2.0)
1113
[Issues](https://github.com/bootstrap-ruby/bootstrap_form/issues?q=closed%3A2022-06-25T17%3A22..2023-05-20T23%3A59)
1214
- [5.1.0](https://github.com/bootstrap-ruby/bootstrap_form/compare/v5.0.0...v5.1.0)

README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ This generates:
125125

126126
### bootstrap_form_with
127127

128-
Note that `form_with` in Rails 5.1 does not add IDs to form elements and labels by default, which are both important to Bootstrap markup. This behaviour is corrected in Rails 5.2.
129-
130128
To get started, just use the `bootstrap_form_with` helper in place of `form_with`. Here's an example:
131129

132130
![Example 2](demo/doc/screenshots/bootstrap/readme/02_example.png "Example 2")
@@ -200,7 +198,7 @@ date_field password_field time_field
200198
date_select phone_field time_select
201199
datetime_field radio_button time_zone_select
202200
datetime_local_field range_field url_field
203-
datetime_select rich_text_area (Rails 6+) week_field
201+
datetime_select rich_text_area week_field
204202
```
205203

206204
By default, the helpers generate a `label` tag, and an `input`, `select`, or `textarea` tag, by calling the Rails `label` helper, and then the Rails helper with the same name as the `bootstrap_form` helper.
@@ -946,8 +944,6 @@ will be rendered as
946944

947945
## Rich Text Areas AKA Trix Editor
948946

949-
If you're using Rails 6, `bootstrap_form` supports the `rich_text_area` helper.
950-
951947
![Example 34](demo/doc/screenshots/bootstrap/readme/34_example.png "Example 34")
952948
```erb
953949
<%= f.rich_text_area(:life_story) %>

lib/bootstrap_form/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module BootstrapForm
2-
VERSION = "5.2.0".freeze
2+
VERSION = "5.2.1".freeze
33
REQUIRED_RAILS_VERSION = ">= 6.0".freeze
44
end

0 commit comments

Comments
 (0)