Froze rails gems
[depot.git] / vendor / rails / actionpack / test / fixtures / test / update_element_with_capture.erb
1 <% replacement_function = update_element_function("products", :action => :update) do %>
2 <p>Product 1</p>
3 <p>Product 2</p>
4 <% end %>
5 <%= javascript_tag(replacement_function) %>
6
7 <% update_element_function("status", :action => :update, :binding => binding) do %>
8 <b>You bought something!</b>
9 <% end %>