From: Jean-Philippe Lang Date: Thu, 10 Dec 2009 19:55:20 +0000 (+0000) Subject: Fix target version field on issue update form. X-Git-Tag: 0.9.0~113 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=272869c6544219d701b7aaa9d5d4513012043d01;p=redmine.git Fix target version field on issue update form. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3149 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/_form_update.rhtml b/app/views/issues/_form_update.rhtml index 5304ee23a..be775d2be 100644 --- a/app/views/issues/_form_update.rhtml +++ b/app/views/issues/_form_update.rhtml @@ -6,7 +6,7 @@

<%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %>

<% unless @issue.assignable_versions.empty? %> -

<%= f.select :fixed_version_id, (@issue.assignable_versions.collect {|v| [v.name, v.id]}), :include_blank => true %>

+

<%= f.select :fixed_version_id, version_options_for_select(@issue.assignable_versions, @issue.fixed_version), :include_blank => true %>

<% end %>