开发者

Ruby on Rails remote_form_for with javascript disabled

开发者 https://www.devze.com 2023-01-03 08:17 出处:网络
link_to_remote has an :href option to unobtrusively add regular links开发者_Python百科 just in case javascript is 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

精彩评论

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