Project

General

Profile

Patch #6171 ยป display_locked_users_on_update.diff

ciaran jessup, 2010-08-18 16:41

View differences:

app/views/issues/_attributes.rhtml
8 8
<% end %>
9 9

  
10 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.assigned_to.nil? ? [] : [[@issue.assigned_to.name,@issue.assigned_to.id]])+(@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %></p>
12 12
<% unless @project.issue_categories.empty? %>
13 13
<p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %>
14 14
<%= prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'),
    (1-1/1)