Revision 1357:bef3c810b1e4 app

View differences:

app/views/issues/_form.html.erb
43 43

  
44 44
<%= call_hook(:view_issues_form_details_bottom, { :issue => @issue, :form => f }) %>
45 45
<% end %>
46

  
47
<% if @issue.new_record? && User.current.allowed_to?(:add_issue_watchers, @project) -%>
48
<p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
49
<% @issue.project.users.sort.each do |user| -%>
50
<label class="floating"><%= check_box_tag 'issue[watcher_user_ids][]', user.id, !!(@issue.watched_by?(user) or user == User.current) %> <%=h user %></label>
51
<% end -%>
52
</p>
53
<% end %>
54

  
55
<%= call_hook(:view_issues_form_details_bottom, { :issue => @issue, :form => f }) %>
56

  
57
<%= wikitoolbar_for 'issue_description' %>

Also available in: Unified diff