]> source.dussan.org Git - redmine.git/commitdiff
Add ids to some sections of the issue form
authorEric Davis <edavis@littlestreamsoftware.com>
Fri, 22 Oct 2010 18:20:00 +0000 (18:20 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Fri, 22 Oct 2010 18:20:00 +0000 (18:20 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4275 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_form.rhtml

index 136e1decc5a46353e99f1b523ddad2e03fe90c33..7e9a29ee5516acd0e452c13c41d3bce40468cd9d 100644 (file)
 </div>
 
 <% if @issue.new_record? %>
-<p><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form' %></p>
+<p id="attachments_form"><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form' %></p>
 <% end %>
 
 <% if @issue.new_record? && User.current.allowed_to?(:add_issue_watchers, @project) -%>
-<p><label><%= l(:label_issue_watchers) %></label>
+<p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
 <% @issue.project.users.sort.each do |user| -%>
 <label class="floating"><%= check_box_tag 'issue[watcher_user_ids][]', user.id, @issue.watched_by?(user) %> <%=h user %></label>
 <% end -%>