app/views/lookbook/pages/show.html.erb in lookbook-1.4.5 vs app/views/lookbook/pages/show.html.erb in lookbook-1.5.0

- old
+ new

@@ -11,10 +11,10 @@ <% end %> <% if @page.sections.any? %> <%= lookbook_render :page_tabs, id: "page-tabbed-sections", markdown: false, class: "mt-6" do |page_tabs| %> <% @page.sections.each do |section| %> - <% page_tabs.tab name: "page-section-#{section.name}", label: section.label do %> + <% page_tabs.with_tab name: "page-section-#{section.name}", label: section.label do %> <%= page_controller.render_page(section) %> <% end %> <% end %> <% end %> <% end %>