Skip to content

Commit

Permalink
Update forms_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Jul 23, 2024
1 parent 58c7efb commit 4665398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/forms_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def check_for_optional_or_required_note(args)
end

def check_for_help_block(args)
return unless args[:help].present? && args[:field].present?
return args unless args[:help].present? && args[:field].present?

args[:between] = capture do
concat(collapse_info_trigger("#{args[:field]}_help"))
Expand Down

0 comments on commit 4665398

Please sign in to comment.