1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add CHANGELOG entry for

[ci skip]
This commit is contained in:
Rafael Mendonça França 2020-12-09 00:12:51 +00:00
parent 3c2a80d8b1
commit 2a41b6ea98
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948

View file

@ -1,3 +1,11 @@
* Add `config.action_view.image_loading` to configure the default value of
the `image_tag` `:loading` option.
By setting `config.action_view.image_loading = "lazy"`, an application can opt in to
lazy loading images sitewide, without changing view code.
*Jonathan Hefner*
* `ActionView::Helpers::FormBuilder#id` returns the value
of the `<form>` element's `id` attribute. With a `method` argument, returns
the `id` attribute for a form field with that name.