diff app/views/issues/_attributes.rhtml @ 141:ab75f33dcc6f luisf

Issue #31: issue submitters and assignees are added to the watchers list. incomplete: there is no option to select/unselect the assignee.
author luisf
date Thu, 20 Jan 2011 13:08:43 +0000
parents 40f7cfd4df19
children 753f1380d6bc
line wrap: on
line diff
--- a/app/views/issues/_attributes.rhtml	Wed Jan 12 17:10:57 2011 +0000
+++ b/app/views/issues/_attributes.rhtml	Thu Jan 20 13:08:43 2011 +0000
@@ -8,7 +8,7 @@
 <% end %>
 
 <p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), {:required => true}, :disabled => !@issue.leaf? %></p>
-<p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %></p>
+<p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), {:include_blank => true} %></p>
 <% unless @project.issue_categories.empty? %>
 <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %>
 <%= prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'),