pra*_*ski 4 forms ruby-on-rails ruby-on-rails-3
我想预设一个带有值的textarea,但它不起作用.
<%= f.text_area(:self_summary, :input_html => { "date-pre" => "I will get to this later."}, :class => "textareastyle") %>
Run Code Online (Sandbox Code Playgroud)
Jiř*_*šil 11
<%= f.text_area(:self_summary, :value => "I will get to this later.", :class => "textareastyle") %>
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
3471 次 |
最近记录: |