= component_tag_for hover_group do
  .outer
    = hover_group.decorate.background

    - inner_content = capture do
      = hover_group.decorate.h1
      = hover_group.decorate.h2
      = hover_group.decorate.text

      div data={ \
        slick_carousel: !!hover_group.options[:gallery],
        gallery_options: hover_group.options[:gallery_options].to_json}

        - hover_group.items.each do |item|
          = component item.key

      .clearfix

      = render partial: 'components/hover_item/modal',
        collection: hover_group.items, as: :hover_item

    - if defined?(block)
      - block.call(hover_group, inner_content)
    - else
      .inner= inner_content


= component_tag_for hover_group do
  .outer
    = hover_group.decorate.background

    - inner_content = capture do
      = hover_group.decorate.h1
      = hover_group.decorate.h2
      = hover_group.decorate.text

      div data={ \
        slick_carousel: !!hover_group.options[:gallery],
        gallery_options: hover_group.options[:gallery_options].to_json}

        - hover_group.items.each do |item|
          = component item

      .clearfix

      = render partial: 'components/hover_item/modal',
        collection: hover_group.items, as: :hover_item

    - if defined?(block)
      - block.call(hover_group, inner_content)
    - else
      .inner= inner_content


Fix hover group - Render item passing the object instead the key
Fix hover group - Render item passing the object instead the key

polomarte/martian_components,polomarte/martian_components,polomarte/martian_components