<%= render(@layout.new(facet_field: @facet_field)) do |component| %> <% component.with_label do %> <%= @facet_field.label %> <% end %> <% component.with_body do %> <% end %> <% end %>