summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-12-09 21:33:52 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-12-09 21:33:52 +0000
commite25ee59cc265cd08d07cabfe9d072fc68441921a (patch)
treefe107737c1c96360e26dcd962da5679bbb5c9dbc /app
parent1999cafe0fee4dc06bd5091b0144729a0905bac6 (diff)
downloadredmine-e25ee59cc265cd08d07cabfe9d072fc68441921a.tar.gz
redmine-e25ee59cc265cd08d07cabfe9d072fc68441921a.zip
Merge r23362 and r23363 from trunk to 5.1-stable (#40301).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23374 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/versions/_new_modal.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/_new_modal.html.erb b/app/views/versions/_new_modal.html.erb
index 052a73974..02c57abc4 100644
--- a/app/views/versions/_new_modal.html.erb
+++ b/app/views/versions/_new_modal.html.erb
@@ -1,6 +1,6 @@
<h3 class="title"><%=l(:label_version_new)%></h3>
-<%= labelled_form_for @version, :url => project_versions_path(@project), :remote => true do |f| %>
+<%= labelled_form_for @version, :url => project_versions_path(@project), :html => {:multipart => true}, :remote => true do |f| %>
<%= render :partial => 'versions/form', :locals => { :f => f } %>
<p class="buttons">
<%= submit_tag l(:button_create), :name => nil %>