Ability to uncheck "Multiple values" for existing custom fields (#12251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11167 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2013-01-12 09:12:09 +00:00
1 parent 44ceb513ed
commit 5c1039a69e
3 files changed
+36 -1

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
<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, :disabled => @custom_field.multiple && !@custom_field.new_record? %></p>
<p><%= f.check_box :multiple %></p>
<% end %>
<% unless @custom_field.format_in? 'list', 'bool', 'date', 'user', 'version' %>