Skip to content

Commit

Permalink
[#59807] added form field instructions
Browse files Browse the repository at this point in the history
- https://community.openproject.org/work_packages/59807
- old new custom field form now contains intstructions for multi-select
  • Loading branch information
Kharonus committed Nov 29, 2024
1 parent bc6a30e commit e5d4720
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/custom_fields/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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) %>>
Expand Down

0 comments on commit e5d4720

Please sign in to comment.