在 Ruby on Rails 中怎样给 link_to 加 class
2007年6月6日 星期三
<%= link_to "Link name", { :controller => 'controller_name',
:action => 'action_name' },
:class => 'someclass' -%>
这段时间在闭关修炼,马上就会有新成果提交给大家鉴赏,请稍候。标签: RubyonRails
Focus on Web2.0, Business, Architecture, Agile, Technic and beyond…
<%= link_to "Link name", { :controller => 'controller_name',
:action => 'action_name' },
:class => 'someclass' -%>
这段时间在闭关修炼,马上就会有新成果提交给大家鉴赏,请稍候。标签: RubyonRails
<< 主页