]> source.dussan.org Git - redmine.git/commitdiff
Makes target version field on update form use the grouped combo.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 10 Dec 2009 20:15:03 +0000 (20:15 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 10 Dec 2009 20:15:03 +0000 (20:15 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3150 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_form_update.rhtml

index be775d2bed48d4ac134cd2f7883c59918bd3df50..5304ee23a585319ef080ba09b626f5685a0c22f0 100644 (file)
@@ -6,7 +6,7 @@
 <div class="splitcontentright">
 <p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p>
 <% unless @issue.assignable_versions.empty? %>
-<p><%= f.select :fixed_version_id, version_options_for_select(@issue.assignable_versions, @issue.fixed_version), :include_blank => true %></p>
+<p><%= f.select :fixed_version_id, (@issue.assignable_versions.collect {|v| [v.name, v.id]}), :include_blank => true %></p>
 <% end %>
 </div>
 </div>