Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7678 from dxg/add_password_field_doco

Add extra documentation for password_field
  • Loading branch information...
commit 57887e21b97a571dd93b00073b9be464b6191313 2 parents edb40dc + 137e5d9
Xavier Noria fxn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/form_helper.rb
2  actionpack/lib/action_view/helpers/form_helper.rb
View
@@ -785,7 +785,7 @@ def text_field(object_name, method, options = {})
# Returns an input tag of the "password" type tailored for accessing a specified attribute (identified by +method+) on an object
# assigned to the template (identified by +object+). Additional options on the input tag can be passed as a
# hash with +options+. These options will be tagged onto the HTML as an HTML element attribute as in the example
- # shown.
+ # shown. This field will be blank by default; pass in a value via +options+ if this is not desired.
#
# ==== Examples
# password_field(:login, :pass, :size => 20)
Please sign in to comment.
Something went wrong with that request. Please try again.