开发者

Ruby on Rails remote_form_for with javascript disabled

link_to_remote has an :href option to unobtrusively add regular links开发者_Python百科 just in case javascript is disabled.

Does remote_form_for have something like that?


The documentation for form_remote_tag explains how to do this:

A "fall-through" target for browsers that doesn‘t do JavaScript can be specified with the :action/:method options on :html.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜