OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
simplify condition which uses CustomField#multi_value_possible?, as it already checks for list format
Ivan Kuchin9382b1203854
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erbindex 51868bc9c7b..18f39e1a407 100644--- a/app/views/custom_fields/_form.html.erb+++ b/app/views/custom_fields/_form.html.erb@@ -85,7 +85,7 @@ See COPYRIGHT and LICENSE files for more details.</span></div>- <% if @custom_field.new_record? || @custom_field.list? || @custom_field.multi_value_possible? %>+ <% if @custom_field.new_record? || @custom_field.multi_value_possible? %><div class="form--field" <%= format_dependent.attributes(:multiSelect) %>><%= f.check_box :multi_value,data: { action: 'admin--custom-fields#checkOnlyOne' } %>