Skip to content

Commit

Permalink
Fix matrix_box_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Jan 18, 2024
1 parent d17ae87 commit ae665ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/helpers/matrix_box_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def matrix_table(**args, &block)
as = args[:as] || :object
cached = args[:cached] || false

concat(
[
tag.ul(
class: "row list-unstyled mt-3",
data: { controller: "matrix-table",
Expand All @@ -20,9 +20,9 @@ def matrix_table(**args, &block)
locals: args.except(:objects, :as, :partial, :cached),
collection: args[:objects], as: as, cached: cached)
end
end
)
concat(tag.div("", class: "clearfix"))
end,
tag.div("", class: "clearfix")
].safe_join
end

# Use this helper to produce a standard li.matrix-box with an object id.
Expand Down

0 comments on commit ae665ad

Please sign in to comment.