diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-13 19:44:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-13 19:44:28 +0000 |
commit | 7b7a84c93a4fe57fdd14ec4729240939714ca412 (patch) | |
tree | be49fa1781a7091ee1096bb5305783e372bdb484 /app/views/enumerations/edit.html.erb | |
parent | aaba48900a859cecaf564b16524ff625695804ea (diff) | |
download | redmine-7b7a84c93a4fe57fdd14ec4729240939714ca412.tar.gz redmine-7b7a84c93a4fe57fdd14ec4729240939714ca412.zip |
Use multipart forms for objects that may have file custom fields (#6719).
git-svn-id: http://svn.redmine.org/redmine/trunk@16068 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/enumerations/edit.html.erb')
-rw-r--r-- | app/views/enumerations/edit.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/enumerations/edit.html.erb b/app/views/enumerations/edit.html.erb index 59a7aa6ba..a7d03ced7 100644 --- a/app/views/enumerations/edit.html.erb +++ b/app/views/enumerations/edit.html.erb @@ -1,6 +1,6 @@ <%= title [l(@enumeration.option_name), enumerations_path], @enumeration.name %> -<%= labelled_form_for :enumeration, @enumeration, :url => enumeration_path(@enumeration), :html => {:method => :put} do |f| %> +<%= labelled_form_for :enumeration, @enumeration, :url => enumeration_path(@enumeration), :html => {:method => :put, :multipart => true} do |f| %> <%= render :partial => 'form', :locals => {:f => f} %> <%= submit_tag l(:button_save) %> <% end %> |