@@ -26,11 +26,11 | |||||
26 | </div> |
|
26 | </div> | |
27 |
|
27 | |||
28 | <% if @issue.new_record? %> |
|
28 | <% if @issue.new_record? %> | |
29 | <p><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form' %></p> |
|
29 | <p id="attachments_form"><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form' %></p> | |
30 | <% end %> |
|
30 | <% end %> | |
31 |
|
31 | |||
32 | <% if @issue.new_record? && User.current.allowed_to?(:add_issue_watchers, @project) -%> |
|
32 | <% if @issue.new_record? && User.current.allowed_to?(:add_issue_watchers, @project) -%> | |
33 | <p><label><%= l(:label_issue_watchers) %></label> |
|
33 | <p id="watchers_form"><label><%= l(:label_issue_watchers) %></label> | |
34 | <% @issue.project.users.sort.each do |user| -%> |
|
34 | <% @issue.project.users.sort.each do |user| -%> | |
35 | <label class="floating"><%= check_box_tag 'issue[watcher_user_ids][]', user.id, @issue.watched_by?(user) %> <%=h user %></label> |
|
35 | <label class="floating"><%= check_box_tag 'issue[watcher_user_ids][]', user.id, @issue.watched_by?(user) %> <%=h user %></label> | |
36 | <% end -%> |
|
36 | <% end -%> |
General Comments 0
You need to be logged in to leave comments.
Login now