diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d50fe60bd..bf68d8dbd 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -947,8 +947,7 @@ 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}) + options.merge!({:builder => Redmine::Views::LabelledFormBuilder, :remote => true}) form_for(*args, &proc) end