4

テキストエリアに値を設定したいのですが、うまくいきません。

<%= f.text_area(:self_summary, :input_html => { "date-pre" => "I will get to this later."}, :class => "textareastyle") %>
4

1 に答える 1

11
<%= f.text_area(:self_summary, :value => "I will get to this later.", :class => "textareastyle") %>
于 2012-12-30T12:55:19.227 に答える