私は次のコードを持っています
<% form_tag update_batting_order_tournament_path ,:complete => visual_effect(:appear, 'inning_update_success'), :method => :get, :remote => true do %>
基本的にdivを更新したい
イニングオーダーが更新されました!私が書いたように、これは機能していません。正しいオプションが何であるかについてのアイデア
私は次のコードを持っています
<% form_tag update_batting_order_tournament_path ,:complete => visual_effect(:appear, 'inning_update_success'), :method => :get, :remote => true do %>
基本的にdivを更新したい
イニングオーダーが更新されました!私が書いたように、これは機能していません。正しいオプションが何であるかについてのアイデア
<%の代わりに<%=を使用してください。
<%= form_tag update_batting_order_tournament_path ,:complete => visual_effect(:appear, 'inning_update_success'), :method => :get, :remote => true do %>
詳細については、 http://edgeguides.rubyonrails.org/3_0_release_notes.html#helpers-with-blocksを参照してください。