diff options
author | Xavier Noria <fxn@hashref.com> | 2012-09-18 00:02:45 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-09-18 00:02:45 -0700 |
commit | 57887e21b97a571dd93b00073b9be464b6191313 (patch) | |
tree | c6136d87324023cf6fd7c355562c7e752b18e8cc | |
parent | edb40dc41241080aeb310e9e1295116cada8aefe (diff) | |
parent | 137e5d91db0820e023dcb6b660e13279d650a856 (diff) | |
download | rails-57887e21b97a571dd93b00073b9be464b6191313.tar.gz rails-57887e21b97a571dd93b00073b9be464b6191313.tar.bz2 rails-57887e21b97a571dd93b00073b9be464b6191313.zip |
Merge pull request #7678 from dxg/add_password_field_doco
Add extra documentation for password_field
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 17fe7dc1b4..cf5196fd38 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -785,7 +785,7 @@ module ActionView # 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) |