231件ヒット
[1-100件を表示]
(0.173秒)
ライブラリ
-
cgi
/ html (231)
キーワード
- checkbox (11)
-
checkbox
_ group (11) -
file
_ field (11) - form (22)
- hidden (11)
- html (22)
- img (11)
-
multipart
_ form (22) -
password
_ field (11) -
radio
_ group (11) - reset (11)
-
scrolling
_ list (11) - submit (11)
-
text
_ field (11) - textarea (11)
検索結果
先頭5件
-
CGI
:: HtmlExtension # text _ field(attributes) -> String (9202.0) -
タイプが text である input 要素を生成します。
...タイプが text である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
text_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="text" NAME="name" VALUE="value">... -
CGI
:: HtmlExtension # textarea(attributes) -> String (9202.0) -
textarea 要素を生成します。
...textarea 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
textarea("name", 40, 5)
# = textarea({ "NAME" => "name", "COLS" => 40, "ROWS" => 5 })... -
CGI
:: HtmlExtension # reset(attributes) -> String (6302.0) -
タイプが reset である input 要素を生成します。
...タイプが reset である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
reset({ "VALUE" => "reset", "ID" => "foo" })
# <INPUT TYPE="reset" VALUE="reset" ID="foo">... -
CGI
:: HtmlExtension # checkbox(attributes) -> String (6202.0) -
タイプが checkbox である input 要素を生成します。
...タイプが checkbox である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
checkbox("name" => "name", "value" => "value", "checked" => true)
# => "<INPUT checked name=\"name\" TYPE=\"checkbox\" value=\"value\">"... -
CGI
:: HtmlExtension # checkbox _ group(attributes) -> String (6202.0) -
タイプが checkbox である input 要素のグループを生成します。
...が checkbox である input 要素のグループを生成します。
生成される input 要素の name 属性はすべて同じになり、
それぞれの input 要素の後ろにはラベルが続きます。
@param attributes 属性をハッシュで指定します。
例:
checkbox_gro......up({ "NAME" => "name",
"VALUES" => ["foo", "bar", "baz"] })
checkbox_group({ "NAME" => "name",
"VALUES" => [["foo"], ["bar", true], "baz"] })
checkbox_group({ "NAME" => "name",
"VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"] })... -
CGI
:: HtmlExtension # file _ field(attributes) -> String (6202.0) -
タイプが file である input 要素を生成します。
...タイプが file である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
file_field({ "NAME" => "name", "SIZE" => 40 })
# <INPUT TYPE="file" NAME="name" SIZE="40">... -
CGI
:: HtmlExtension # hidden(attributes) -> String (6202.0) -
タイプが hidden である input 要素を生成します。
...タイプが hidden である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
hidden({ "NAME" => "name", "VALUE" => "reset", "ID" => "foo" })
# <INPUT TYPE="hidden" NAME="name" VALUE="value" ID="foo">... -
CGI
:: HtmlExtension # image _ button(attributes) -> String (6202.0) -
タイプが image の input 要素を生成します。
...タイプが image の input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
image_button({ "SRC" => "url", "ALT" => "string" })
# <INPUT TYPE="image" SRC="url" ALT="string">... -
CGI
:: HtmlExtension # password _ field(attributes) -> String (6202.0) -
タイプが password である input 要素を生成します。
...タイプが password である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
password_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="password" NAME="name" VALUE="value">... -
CGI
:: HtmlExtension # popup _ menu(attributes) -> String (6202.0) -
select 要素を生成します。
...select 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
popup_menu({"NAME" => "name", "SIZE" => 2, "MULTIPLE" => true,
"VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"] })
# <SELECT NAME="name" MULTIPLE SIZE="2......">
# <OPTION VALUE="1">Foo</OPTION>
# <OPTION SELECTED VALUE="2">Bar</OPTION>
# <OPTION VALUE="Baz">Baz</OPTION>
# </SELECT>...