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/users/_general.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/users/_general.html.erb')
-rw-r--r-- | app/views/users/_general.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/_general.html.erb b/app/views/users/_general.html.erb index 7d84c0ced..fddea54bb 100644 --- a/app/views/users/_general.html.erb +++ b/app/views/users/_general.html.erb @@ -1,4 +1,4 @@ -<%= labelled_form_for @user do |f| %> +<%= labelled_form_for @user, :html => {:multipart => true} do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <% if @user.active? && email_delivery_enabled? && @user != User.current -%> <p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p> |