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 回答