diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-23 19:05:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-23 19:05:22 +0000 |
commit | ed01ae121daf44d1df43332b01f3d5f9d627a3d5 (patch) | |
tree | 4f20b0b772bc5b6a9ee354d9a084fc9ea07559f6 /app/views/issue_categories | |
parent | 578fdc62f26c23951b2d2c2b9be0040c7ade0634 (diff) | |
download | redmine-ed01ae121daf44d1df43332b01f3d5f9d627a3d5.tar.gz redmine-ed01ae121daf44d1df43332b01f3d5f9d627a3d5.zip |
Adds a optgroup for groups in users/groups select tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6307 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issue_categories')
-rw-r--r-- | app/views/issue_categories/_form.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issue_categories/_form.rhtml b/app/views/issue_categories/_form.rhtml index fc5f158d3..fae0a75e5 100644 --- a/app/views/issue_categories/_form.rhtml +++ b/app/views/issue_categories/_form.rhtml @@ -2,5 +2,5 @@ <div class="box"> <p><%= f.text_field :name, :size => 30, :required => true %></p> -<p><%= f.select :assigned_to_id, @project.assignable_users.sort.collect{|u| [u.name, u.id]}, :include_blank => true %></p> +<p><%= f.select :assigned_to_id, principals_options_for_select(@project.assignable_users, @category.assigned_to), :include_blank => true %></p> </div> |