Is it possible to have different classes for each sim开发者_开发知识库ple_form so you can apply different stylesheets??
You can specify class attributes using the html option, thus:
simple_form_for object, :html => {:class => "myform"} do |f|
end
Is it possible to have different classes for each sim开发者_开发知识库ple_form so you can apply different stylesheets??
You can specify class attributes using the html option, thus:
simple_form_for object, :html => {:class => "myform"} do |f|
end
上一篇:锁多少钱一把啊??
“遥望转蓬飞”上一句是什么?:下一篇
精彩评论