diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-12 09:27:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-12 09:27:03 +0000 |
commit | bf2fb5d535bdca2606823a142bc2e25c1516549b (patch) | |
tree | c0f69f412c8f9a46d5f5e98e064741f3a90f094b /app | |
parent | 5c1039a69e93fe815d4254a8d0edb4f073692b42 (diff) | |
download | redmine-bf2fb5d535bdca2606823a142bc2e25c1516549b.tar.gz redmine-bf2fb5d535bdca2606823a142bc2e25c1516549b.zip |
Adds a message about disabling multiple values on custom field form (#12251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11168 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/custom_fields/_form.html.erb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb index 50075775b..ca8ebaf49 100644 --- a/app/views/custom_fields/_form.html.erb +++ b/app/views/custom_fields/_form.html.erb @@ -5,7 +5,12 @@ <p><%= f.select :field_format, custom_field_formats_for_select(@custom_field), {}, :disabled => !@custom_field.new_record? %></p> <% if @custom_field.format_in? 'list', 'user', 'version' %> -<p><%= f.check_box :multiple %></p> +<p> + <%= f.check_box :multiple %> + <% if !@custom_field.new_record? && @custom_field.multiple %> + <em class="info"><%= l(:text_turning_multiple_off) %></em> + <% end %> +</p> <% end %> <% unless @custom_field.format_in? 'list', 'bool', 'date', 'user', 'version' %> |