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 :
image_button-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate an Image Button Input element as a string. - !ruby/struct:SM::Flow::P body: <tt>src</tt> is the URL of the image to use for the button. <tt>name</tt> is the input name. <tt>alt</tt> is the alternative text for the image. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " image_button("url")\n # <INPUT TYPE="image" SRC="url">\n\n image_button("url", "name", "string")\n # <INPUT TYPE="image" SRC="url" NAME="name" ALT="string">\n\n image_button("SRC" => "url", "ATL" => "strng")\n # <INPUT TYPE="image" SRC="url" ALT="string">\n" full_name: CGI::HtmlExtension#image_button is_singleton: false name: image_button params: (src = "", name = nil, alt = nil) visibility: public