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

Merge pull request #40529 from vbalazs/patch-1

Fix text_field_tag's placeholder documentation [ci skip]
This commit is contained in:
Robin Dupret 2020-11-03 22:59:31 +01:00 committed by GitHub
commit 8fd81f4980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,8 +167,8 @@ module ActionView
# * <tt>:size</tt> - The number of visible characters that will fit in the input.
# * <tt>:maxlength</tt> - The maximum number of characters that the browser will allow the user to enter.
# * <tt>:placeholder</tt> - The text contained in the field by default which is removed when the field receives focus.
# If set to true, use a translation is found in the current I18n locale
# (through helpers.placeholders.<modelname>.<attribute>).
# If set to true, use the translation found in the current I18n locale
# (through helpers.placeholder.<modelname>.<attribute>).
# * Any other key creates standard HTML attributes for the tag.
#
# ==== Examples