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:
parent
705f96ccde
commit
cc553764ba
|
@ -1,11 +1,12 @@
|
||||||
<h3 class="title"><%= l(:permission_add_issue_watchers) %></h3>
|
<h3 class="title"><%= l(:permission_add_issue_watchers) %></h3>
|
||||||
|
|
||||||
<%= form_remote_tag :url => {:controller => 'watchers',
|
<%= form_tag({:controller => 'watchers',
|
||||||
:action => (watched ? 'create' : 'append'),
|
:action => (watched ? 'create' : 'append'),
|
||||||
:object_type => watched.class.name.underscore,
|
:object_type => watched.class.name.underscore,
|
||||||
:object_id => watched},
|
:object_id => watched},
|
||||||
:method => :post,
|
:remote => true,
|
||||||
:html => {:id => 'new-watcher-form'} do %>
|
:method => :post,
|
||||||
|
:id => 'new-watcher-form') do %>
|
||||||
|
|
||||||
<p><%= label_tag 'user_search', l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p>
|
<p><%= label_tag 'user_search', l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p>
|
||||||
<%= observe_field(:user_search,
|
<%= observe_field(:user_search,
|
||||||
|
|
Loading…
Reference in New Issue