るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. attribute new
  2. attribute value
  3. rexml/document add_attribute
  4. rexml/document attribute
  5. element add_attribute

ライブラリ

モジュール

検索結果

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

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

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

生成される input 要素の name 属性はすべて同じになり、
それぞれの input 要素の後ろにはラベルが続きます。

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

例:
checkbox_group({ "NAME" => "name",
"VALUES" => ["foo", "bar", "baz"] })

checkbox_group({ "NAME" => "name",
"VALUES"...