我想用一个值预设一个文本区域,但是它不起作用。
<%= f.text_area(:self_summary, :input_html => { "date-pre" => "I will get to this later."}, :class => "textareastyle") %>
<%= f.text_area(:self_summary, :value => "I will get to this later.", :class => "textareastyle") %>