Removes calls to remote_form_for.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10035 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-07-18 18:43:13 +00:00
parent cd39b12f2c
commit 705f96ccde
3 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<h3 class="title"><%=l(:label_issue_category_new)%></h3>
<%= labelled_remote_form_for @category, :as => 'issue_category', :url => project_issue_categories_path(@project) do |f| %>
<%= labelled_form_for @category, :as => 'issue_category', :url => project_issue_categories_path(@project), :remote => true do |f| %>
<%= render :partial => 'issue_categories/form', :locals => { :f => f } %>
<p class="buttons">
<%= submit_tag l(:button_create), :name => nil %>

View File

@ -1,6 +1,7 @@
<%= labelled_remote_form_for @wiki,
<%= labelled_form_for @wiki,
:as => :wiki,
:url => { :controller => 'wikis', :action => 'edit', :id => @project }, :method => 'post' do |f| %>
:url => { :controller => 'wikis', :action => 'edit', :id => @project },
:remote => true, :method => 'post' do |f| %>
<%= error_messages_for 'wiki' %>

View File

@ -1,6 +1,6 @@
<h3 class="title"><%=l(:label_version_new)%></h3>
<%= labelled_remote_form_for @version, :url => project_versions_path(@project) do |f| %>
<%= labelled_form_for @version, :url => project_versions_path(@project), :remote => true do |f| %>
<%= render :partial => 'versions/form', :locals => { :f => f } %>
<p class="buttons">
<%= submit_tag l(:button_create), :name => nil %>