Skip to content

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

[#59807] added form field instructions

Eric Schubert540bb8f4a8e5
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb
index c8328bf81d6..aa06e6d4471 100644
--- a/app/views/custom_fields/_form.html.erb
+++ b/app/views/custom_fields/_form.html.erb
@@ -100,7 +100,10 @@ See COPYRIGHT and LICENSE files for more details.
<% 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' } %>
+ data: { action: "admin--custom-fields#checkOnlyOne" } %>
+ <div class="form--field-instructions">
+ <p><%= t("custom_fields.instructions.multi_select") %></p>
+ </div>
</div>
<fieldset class="form--fieldset" <%= format_dependent.attributes(:possibleValues) %>>