You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_watchers_form.html.erb 612B

123456789101112131415
  1. <% if @issue.safe_attribute? 'watcher_user_ids' -%>
  2. <%= hidden_field_tag 'issue[watcher_user_ids][]', '' %>
  3. <p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
  4. <span id="watchers_inputs">
  5. <%= watchers_checkboxes(@issue, users_for_new_issue_watchers(@issue)) %>
  6. </span>
  7. <span class="search_for_watchers">
  8. <%= link_to l(:label_search_for_watchers),
  9. {:controller => 'watchers', :action => 'new', :project_id => @issue.project},
  10. :class => 'icon icon-add-bullet',
  11. :remote => true,
  12. :method => 'get' %>
  13. </span>
  14. </p>
  15. <% end %>