From: Jean-Philippe Lang Date: Wed, 18 Jul 2012 18:35:25 +0000 (+0000) Subject: Removes a call to form_remote_tag. X-Git-Tag: 2.1.0~286 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cd39b12f2cf1b74de77ff7d6f52d310c13dff0e4;p=redmine.git Removes a call to form_remote_tag. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10034 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/journals/_notes_form.html.erb b/app/views/journals/_notes_form.html.erb index f039b478c..5e02df1ca 100644 --- a/app/views/journals/_notes_form.html.erb +++ b/app/views/journals/_notes_form.html.erb @@ -1,4 +1,6 @@ -<%= form_remote_tag(:url => {}, :html => { :id => "journal-#{@journal.id}-form" }) do %> +<%= form_tag({:controller => 'journals', :action => 'edit', :id => @journal}, + :remote => true, + :id => "journal-#{@journal.id}-form") do %> <%= label_tag "notes", l(:description_notes), :class => "hidden-for-sighted" %> <%= text_area_tag :notes, @journal.notes, :id => "journal_#{@journal.id}_notes",