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.
精彩评论