mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
3c2a80d8b1
commit
2a41b6ea98
1 changed files with 8 additions and 0 deletions
|
@ -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
|
* `ActionView::Helpers::FormBuilder#id` returns the value
|
||||||
of the `<form>` element's `id` attribute. With a `method` argument, returns
|
of the `<form>` element's `id` attribute. With a `method` argument, returns
|
||||||
the `id` attribute for a form field with that name.
|
the `id` attribute for a form field with that name.
|
||||||
|
|
Loading…
Reference in a new issue