Permalink
Browse files

Removed deprecated end_form_tag helper.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 9236529 commit 98a9b6521886009187afd324e0cdad64902e0e97 Kent Sibilev committed Oct 31, 2006
@@ -1,5 +1,7 @@
*SVN*
+* Removed deprecated end_form_tag helper. [Kent Sibilev]
+
* Removed deprecated @request and @response usages. [Kent Sibilev]
* Removed invocation of deprecated before_action and around_action filter methods. Corresponding before_invocation and after_invocation methods should be used instead. #6275 [Kent Sibilev]
@@ -1,6 +1,6 @@
<h4>Method Invocation Details for <em><%= @scaffold_service %>#<%= @scaffold_method.public_name %></em></h4>
-<%= form_tag :action => @scaffold_action_name + '_submit' %>
+<% form_tag(:action => @scaffold_action_name + '_submit') do -%>
<%= hidden_field_tag "service", @scaffold_service.name %>
<%= hidden_field_tag "method", @scaffold_method.public_name %>
@@ -22,7 +22,7 @@
<% end %>
<%= submit_tag "Invoke" %>
-<%= end_form_tag %>
+<% end -%>
<p>
<%= link_to "Back", :action => @scaffold_action_name %>
@@ -84,6 +84,7 @@ def test_scaffold_invoke_method_params
def test_scaffold_invoke_method_params_with_struct
get :scaffold_invoke_method_params, :service => 'scaffolded', :method => 'HelloStructParam'
assert_template 'parameters.rhtml'
+ assert_tag :tag => 'form'
assert_tag :tag => 'input', :attributes => {:name => "method_params[0][name]"}
end

0 comments on commit 98a9b65

Please sign in to comment.