D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
CGI
/
HtmlExtension
/
Filename :
password_field-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a Password Input element as a string. - !ruby/struct:SM::Flow::P body: <tt>name</tt> is the name of the input field. <tt>value</tt> is its default value. <tt>size</tt> is the size of the input field display. <tt>maxlength</tt> is the maximum length of the inputted password. - !ruby/struct:SM::Flow::P body: Alternatively, attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " password_field("name")\n # <INPUT TYPE="password" NAME="name" SIZE="40">\n\n password_field("name", "value")\n # <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="40">\n\n password_field("password", "value", 80, 200)\n # <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="80" MAXLENGTH="200">\n\n password_field("NAME" => "name", "VALUE" => "value")\n # <INPUT TYPE="password" NAME="name" VALUE="value">\n" full_name: CGI::HtmlExtension#password_field is_singleton: false name: password_field params: (name = "", value = nil, size = 40, maxlength = nil) visibility: public