Skip to content

Commit

Permalink
Merge pull request #17310 from opf/bug/59807-no-caption-for-multisele…
Browse files Browse the repository at this point in the history
…ct-checkbox-in-cf-of-type-hierarchy-create-form

[#59807] added form field instructions
  • Loading branch information
Kharonus authored Dec 3, 2024
2 parents 4e75a8c + 540bb8f commit 1df2f5e
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 1df2f5e

Please sign in to comment.