<%= content_for :main do %>
<% unless @error %>
<% if @previous_page %> <%= lookbook_render :button, size: :lg, icon: :chevron_left, tooltip: "Previous page", href: lookbook_page_path(@previous_page.path), class: "pr-0.5 bg-transparent" %> <% else %> <%= lookbook_render :button, size: :lg, icon: :chevron_left, disabled: true, class: "opacity-50 !cursor-default pr-0.5 bg-transparent" %> <% end %> <% if @next_page %> <%= lookbook_render :button, size: :lg, icon: :chevron_right, tooltip: "Next page", href: lookbook_page_path(@next_page.path), class: "pl-0.5 bg-transparent" %> <% else %> <%= lookbook_render :button, size: :lg, icon: :chevron_right, disabled: true, class: "opacity-50 !cursor-default pl-0.5 bg-transparent" %> <% end %>
<% end %> <%= yield %>
<% end %> <%= render template: "layouts/lookbook/application" %>