Removes a call to form_remote_tag.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10036 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-07-18 18:48:39 +00:00
parent 705f96ccde
commit cc553764ba
1 changed files with 7 additions and 6 deletions

View File

@ -1,11 +1,12 @@
<h3 class="title"><%= l(:permission_add_issue_watchers) %></h3>
<%= form_remote_tag :url => {:controller => 'watchers',
:action => (watched ? 'create' : 'append'),
:object_type => watched.class.name.underscore,
:object_id => watched},
:method => :post,
:html => {:id => 'new-watcher-form'} do %>
<%= form_tag({:controller => 'watchers',
:action => (watched ? 'create' : 'append'),
:object_type => watched.class.name.underscore,
:object_id => watched},
:remote => true,
:method => :post,
:id => 'new-watcher-form') do %>
<p><%= label_tag 'user_search', l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p>
<%= observe_field(:user_search,