remote simple_form_for with re-defined method

孤街醉人 提交于 2019-12-11 10:23:28

问题


Cheers!

= simple_form_for :search_input, :url => 'tracks/result', :method => :get do |f|

How to make this form :remote => true correctly?


回答1:


Like this:

= simple_form_for(:search_input, :url => 'tracks/result', :method => :get, :remote => true) do |f|


来源:https://stackoverflow.com/questions/13732004/remote-simple-form-for-with-re-defined-method

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!