using CP functionality to get list of possible assignees

this list is also sorted
pull/6827/head
Gregor Schmidt 14 years ago
parent 61453f7e7b
commit 344372b076
  1. 2
      app/views/rb_taskboards/show.html.erb

@ -100,7 +100,7 @@
<div id="helpers"> <div id="helpers">
<select class="assigned_to_id template" id="assigned_to_id_options"> <select class="assigned_to_id template" id="assigned_to_id_options">
<option value=""> </option> <option value=""> </option>
<% @project.members.each do |member| %> <% @project.assignable_users.each do |member| %>
<option value="<%= member.user_id %>" color="<%= member.user.backlogs_preference(:task_color) %>"> <option value="<%= member.user_id %>" color="<%= member.user.backlogs_preference(:task_color) %>">
<%= member.name %> <%= member.name %>
</option> </option>

Loading…
Cancel
Save