From e4ce899cd51da2485b62c9df401673c7ac5a9864 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 19 Jul 2010 17:31:05 -0700 Subject: [PATCH] Sort deliverable managers in the select field. --- app/views/deliverables/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/deliverables/_form.html.erb b/app/views/deliverables/_form.html.erb index f3e9266..10207c6 100644 --- a/app/views/deliverables/_form.html.erb +++ b/app/views/deliverables/_form.html.erb @@ -5,7 +5,7 @@ <% else %> <%= form.input :type, :as => :hidden, :class => 'type' %> <% end %> - <%= form.input :manager, :required => true, :collection => @project.users %> + <%= form.input :manager, :required => true, :collection => @project.users.sort %> <%= form.input :start_date, :as => :string, :input_html => {:size => 10}, :hint => calendar_for('deliverable_start_date') %> <%= form.input :end_date, :as => :string, :input_html => {:size => 10}, :hint => calendar_for('deliverable_end_date') %> <%= form.input :notes, :input_html => {:class => 'wiki-edit', :rows => '5'} %>