Files
Redmine/app/views/issues/_watchers_form.html.erb
Jean-Philippe Lang 27cd7f478b Cannot clear all watchers when copying an issue (#26880).
git-svn-id: http://svn.redmine.org/redmine/trunk@17153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-07 22:18:17 +00:00

16 lines
612 B
Plaintext

<% if @issue.safe_attribute? 'watcher_user_ids' -%>
<%= hidden_field_tag 'issue[watcher_user_ids][]', '' %>
<p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
<span id="watchers_inputs">
<%= watchers_checkboxes(@issue, users_for_new_issue_watchers(@issue)) %>
</span>
<span class="search_for_watchers">
<%= link_to l(:label_search_for_watchers),
{:controller => 'watchers', :action => 'new', :project_id => @issue.project},
:class => 'icon icon-add-bullet',
:remote => true,
:method => 'get' %>
</span>
</p>
<% end %>