comparison 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
comparison
equal deleted inserted replaced
116:66c73df314fa 141:ab75f33dcc6f
6 <% else %> 6 <% else %>
7 <p><label><%= l(:field_status) %></label> <%= @issue.status.name %></p> 7 <p><label><%= l(:field_status) %></label> <%= @issue.status.name %></p>
8 <% end %> 8 <% end %>
9 9
10 <p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), {:required => true}, :disabled => !@issue.leaf? %></p> 10 <p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), {:required => true}, :disabled => !@issue.leaf? %></p>
11 <p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %></p> 11 <p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), {:include_blank => true} %></p>
12 <% unless @project.issue_categories.empty? %> 12 <% unless @project.issue_categories.empty? %>
13 <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %> 13 <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %>
14 <%= prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'), 14 <%= prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'),
15 l(:label_issue_category_new), 15 l(:label_issue_category_new),
16 'category[name]', 16 'category[name]',