]> source.dussan.org Git - redmine.git/commitdiff
fixed #9403 Include "Fixed version" when creating a new issue
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 20 Mar 2007 18:37:21 +0000 (18:37 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 20 Mar 2007 18:37:21 +0000 (18:37 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@356 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/add_issue.rhtml

index 1c51f1fc010b6e43cb7d3df759cc6472e1706302..4f592ff7aded87e9dab89f25a628e1641c610283 100644 (file)
@@ -25,6 +25,8 @@
        <p><%= custom_field_tag_with_label @custom_value %></p>
 <% end %>
 
+<p><%= f.select :fixed_version_id, (@project.versions.collect {|v| [v.name, v.id]}), { :include_blank => true } %></p>
+
 <p id="attachments_p"><label for="attachment_file"><%=l(:label_attachment)%>
 <%= image_to_function "add.png", "addFileField();return false" %></label>
 <%= file_field_tag 'attachments[]', :size => 30  %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p>