For a remote form, we can provide the type using data-type tag. ruby Rails.ajax ..., dataType: 'script', ... # OR <%= form_with(model: user, ...
確定! 回上一頁