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

6 commits

Author SHA1 Message Date
Alex Ghiculescu
76e432341c Always recommend config.asset_host in examples 2020-11-30 16:33:51 -06:00
Petrik
ecc533ce6a Remove duplicate FormHelpers from ActionView Helpers guide [ci skip]
Since there's already a whole seperate guide dedicated to Formhelpers,
there is no need to duplicate them in the ActionView Helpers guide.
We can link to the FormHelpers guide instead.
2020-10-05 19:02:51 +02:00
Jonathan Hefner
e6950a332a Add label attribute to <option> from include_blank
The `:include_blank` option of various `<select>`-related helpers causes
an `<option>` element with no content to be rendered.  However, the
[HTML spec] says that unless an `<option>` element has a `label`
attribute (which must be non-empty), its content must be "Text that is
not inter-element whitespace."

In #24923, this issue was addressed for `select_tag` by adding a `label`
attribute to the `<option>`.  This commit addresses the issue in the
same manner for `FormBuilder#select` and various date / time select
helpers.

[HTML spec]: https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element
2020-07-24 15:45:18 -05:00
Vipul A M
9caf09ef19
AV Helper guide fixes- (#39679)
- Fix spacing on output
- Fix short forms usage
[ci skip]
2020-06-20 21:23:43 +05:30
Vipul A M
89b2cb4d61
Fix display of outputs on AV Helpers guide in case of multi-line [ci skip] (#39675) 2020-06-20 03:54:12 +05:30
Petrik
9a4e328d3e Move Actionview Helpers guides to seperate guide [skip ci]
The ActionView Overview guide is currently a Work In Progress (WIP)
because, it seems, not all ActionView helpers are listed. As it's also
one of the largest guides, we can move the helpers to a seperate guide.
This allows us to remove the WIP status from the ActionView Overview
guide and reduce its size.
2020-06-18 21:26:00 +02:00