エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Rails f.check_box set checked/unchecked values
so I got a form helper in rails with a checkbox; I want that checkbox to have values as "thatvalu... so I got a form helper in rails with a checkbox; I want that checkbox to have values as "thatvalue" or "thisvalue" when checked or unchecked; I haven't found anywhere how to set this up with f.check_box :field I found something like that <%= form.check_box :field, {}, "thisvalue", "thatvalue" %> but it doesn't work, because I also set :class and :style inside my tag, so having something like <%= f
2014/03/08 リンク