るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.073秒)
トップページ > クエリ:l[x] > クエリ:attr[x] > クエリ:checkbox_group[x]

別のキーワード

  1. net/imap attr
  2. module attr
  3. _builtin attr
  4. rdoc attr_modifiers
  5. etc sc_thread_attr_stackaddr

ライブラリ

モジュール

検索結果

CGI::HtmlExtension#checkbox_group(attributes) -> String (21223.0)

タイプが checkbox である input 要素のグループを生成します。

...

@param attributes 属性をハッシュで指定します。

例:
checkbox_group
({ "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"] })...