summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-01 08:11:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-01 08:11:36 +0000
commit9178d4748f19adee08e5b9d58ea1176836249eb6 (patch)
tree4c9ee2b9b5d57c31a1872610494e425f1b3a0df5 /app/views
parent786e3cff10f2c6989162f5dacc9547914dd09f76 (diff)
downloadredmine-9178d4748f19adee08e5b9d58ea1176836249eb6.tar.gz
redmine-9178d4748f19adee08e5b9d58ea1176836249eb6.zip
Default target version for new issues (#1828).
git-svn-id: http://svn.redmine.org/redmine/trunk@14786 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/_form.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb
index 1d08acc48..b75ce82d6 100644
--- a/app/views/projects/_form.html.erb
+++ b/app/views/projects/_form.html.erb
@@ -20,6 +20,10 @@
<p><%= f.check_box :inherit_members %></p>
<% end %>
+<% if @project.safe_attribute?('default_version_id') && (default_version_options = project_default_version_options(@project)).present? %>
+ <p><%= f.select :default_version_id, project_default_version_options(@project), :include_blank => true %></p>
+<% end %>
+
<%= wikitoolbar_for 'project_description' %>
<% @project.custom_field_values.each do |value| %>