@@ -1,5 +1,5 | |||||
1 | <div class="contextual"> |
|
1 | <div class="contextual"> | |
2 |
<%= link_to_remote l(:button_add), |
|
2 | <%= link_to_remote l(:button_add), | |
3 | :url => {:controller => 'watchers', |
|
3 | :url => {:controller => 'watchers', | |
4 | :action => 'new', |
|
4 | :action => 'new', | |
5 | :object_type => watched.class.name.underscore, |
|
5 | :object_type => watched.class.name.underscore, | |
@@ -9,7 +9,7 | |||||
9 | <h3><%= l(:label_issue_watchers) %> (<%= watched.watcher_users.size %>)</h3> |
|
9 | <h3><%= l(:label_issue_watchers) %> (<%= watched.watcher_users.size %>)</h3> | |
10 |
|
10 | |||
11 | <% unless @watcher.nil? %> |
|
11 | <% unless @watcher.nil? %> | |
12 |
<% remote_form_for(:watcher, @watcher, |
|
12 | <% remote_form_for(:watcher, @watcher, | |
13 | :url => {:controller => 'watchers', |
|
13 | :url => {:controller => 'watchers', | |
14 | :action => 'new', |
|
14 | :action => 'new', | |
15 | :object_type => watched.class.name.underscore, |
|
15 | :object_type => watched.class.name.underscore, |
General Comments 0
You need to be logged in to leave comments.
Login now