helper: replace remote_form_for to form_for at labelled_remote_form_for
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9573 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f624d01fd8
commit
c0891e8a78
|
@ -947,8 +947,9 @@ module ApplicationHelper
|
|||
def labelled_remote_form_for(*args, &proc)
|
||||
args << {} unless args.last.is_a?(Hash)
|
||||
options = args.last
|
||||
options.merge!({:remote => true})
|
||||
options.merge!({:builder => Redmine::Views::LabelledFormBuilder})
|
||||
remote_form_for(*args, &proc)
|
||||
form_for(*args, &proc)
|
||||
end
|
||||
|
||||
def error_messages_for(*objects)
|
||||
|
|
Loading…
Reference in New Issue