app/views/lookbook/pages/show.html.erb in lookbook-2.0.0.beta.2 vs app/views/lookbook/pages/show.html.erb in lookbook-2.0.0.beta.3

- old
+ new

@@ -3,15 +3,15 @@ x-data="{}" @navigation:complete.window="$refs.scroller.scrollTop = 0;" @dom:update-complete.window="Lookbook.initEmbeds();"> <div class="h-full bg-lookbook-page-bg relative"> <% unless @error %> - + <div class="absolute top-0 right-0 pt-1 pr-0 pl-1 pb-1 rounded-bl-md"> <div class="bg-lookbook-page-bg opacity-90 absolute inset-0 w-full h-full z-0"></div> <div class="relative z-10 flex items-center"> - + <% if @previous_page %> <%= lookbook_render :icon_button, size: :lg, icon: :chevron_left, tooltip: "Previous page", @@ -56,10 +56,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 %> \ No newline at end of file