x
<div class="Polaris-Page">
<div class="Polaris-Page-Header Polaris-Page-Header--mobileView Polaris-Page-Header--mediumTitle Polaris-Page-Header--hasNavigation">
<div class="Polaris-Page-Header__Row">
<div class="Polaris-Page-Header__BreadcrumbWrapper">
<nav role="navigation">
<a class="Polaris-Breadcrumbs__Breadcrumb" href="/products" data-polaris-unstyled="true">
<span class="Polaris-Breadcrumbs__ContentWrapper">
<span class="Polaris-Breadcrumbs__Icon">
<span class="Polaris-Icon">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M17 9H5.414l3.293-3.293a.999.999 0 1 0-1.414-1.414l-5 5a.999.999 0 0 0 0 1.414l5 5a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414L5.414 11H17a1 1 0 1 0 0-2z"></path></svg>
</span>
</span>
</span>
</a>
</nav>
</div>
<div class="Polaris-Page-Header__TitleWrapper">
<div class="">
<div class="Polaris-Header-Title__TitleAndSubtitleWrapper">
<div class="Polaris-Header-Title__TitleWithMetadataWrapper">
<h1 class="Polaris-Header-Title">3/4 inch Leather pet collar</h1>
<div class="Polaris-Header-Title__TitleMetadata">
<span class="Polaris-Badge Polaris-Badge--statusSuccess">
Paid
</span>
</div>
</div>
<div class="Polaris-Header-Title__SubTitle Polaris-Header-Title__SubtitleCompact">
<p>Perfect for any pet</p>
</div>
</div>
</div>
</div>
<div class="Polaris-Page-Header__RightAlign">
<div class="Polaris-Page-Header__Actions">
<div class="Polaris-ActionMenu Polaris-ActionMenu--mobile">
<div class="Polaris-ActionMenu-RollupActions__RollupActivator">
<div data-controller="polaris-popover" data-polaris-popover-active-value="false" data-polaris-popover-placement-value="bottom-end" data-polaris-popover-open-class="Polaris-Popover__PopoverOverlay--open" data-polaris-popover-closed-class="Polaris-Popover__PopoverOverlay--closed" style="display: inline-block;">
<div data-polaris-popover-target="activator">
<button data-action="polaris-popover#toggle [email protected]>polaris-popover#hide" data-controller="polaris-button" type="button" class="Polaris-Button Polaris-Button--iconOnly">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Icon">
<span class="Polaris-Icon">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M6 10a2 2 0 1 1-4.001-.001A2 2 0 0 1 6 10zm6 0a2 2 0 1 1-4.001-.001A2 2 0 0 1 12 10zm6 0a2 2 0 1 1-4.001-.001A2 2 0 0 1 18 10z"></path></svg>
</span>
</div>
</span>
</button>
</div>
<div data-polaris-popover-target="popover" class="Polaris-PositionedOverlay Polaris-Popover__PopoverOverlay Polaris-Popover__PopoverOverlay--closed">
<div class="Polaris-Popover">
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
<div style="">
<div class="Polaris-Popover__Wrapper">
<div tabindex="-1" class="Polaris-Popover__Content">
<div data-polaris-scrollable-shadow-value="true" data-polaris-scrollable-top-shadow-class="Polaris-Scrollable--hasTopShadow" data-polaris-scrollable-bottom-shadow-class="Polaris-Scrollable--hasBottomShadow" data-controller="polaris-scrollable" style="" class="Polaris-Popover__Pane Polaris-Scrollable Polaris-Scrollable--vertical">
<span data-polaris-scrollable-target="topEdge"></span>
<div style="text-align: left;" class="Polaris-ActionList">
<div class="Polaris-ActionList__Section--withoutTitle">
<ul class="Polaris-ActionList__Actions">
<li>
<a content="Duplicate" href="/duplicate" class="Polaris-ActionList__Item">
<div class="Polaris-ActionList__Content">
<span class="Polaris-ActionList__Text">
Duplicate
</span>
</div>
</a></li>
</ul>
</div>
<div class="">
<p class="Polaris-ActionList__Title">
Promote
</p>
<ul class="Polaris-ActionList__Actions">
<li>
<a content="Share on Facebook" href="https://facebook.com" class="Polaris-ActionList__Item">
<div class="Polaris-ActionList__Content">
<span class="Polaris-ActionList__Text">
Share on Facebook
</span>
</div>
</a></li>
<li>
<a content="Share on Twitter" href="https://twitter.com" class="Polaris-ActionList__Item">
<div class="Polaris-ActionList__Content">
<span class="Polaris-ActionList__Text">
Share on Twitter
</span>
</div>
</a></li>
</ul>
</div>
</div>
<span data-polaris-scrollable-target="bottomEdge"></span>
</div>
</div>
</div>
</div>
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
</div>
</div>
</div>
</div>
</div>
<div class="Polaris-ActionMenu Polaris-ActionMenu--desktop">
<div class="Polaris-ActionMenu-Actions__ActionsLayout">
<div class="Polaris-ButtonGroup Polaris-ButtonGroup--extraTight">
<div class="Polaris-ButtonGroup__Item"><span class="Polaris-ActionMenu-SecondaryAction"> <a content="Duplicate" href="/duplicate" data-controller="polaris-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Duplicate
</div>
</span>
</a>
</span></div>
<div class="Polaris-ButtonGroup__Item"> <span class="Polaris-ActionMenu-SecondaryAction">
<div data-controller="polaris-popover" data-polaris-popover-active-value="false" data-polaris-popover-placement-value="bottom" data-polaris-popover-open-class="Polaris-Popover__PopoverOverlay--open" data-polaris-popover-closed-class="Polaris-Popover__PopoverOverlay--closed" style="display: inline-block;">
<div data-polaris-popover-target="activator">
<button data-action="polaris-popover#toggle [email protected]>polaris-popover#hide" data-controller="polaris-button" type="button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Promote
</div>
<div class="Polaris-Button__Icon">
<span class="Polaris-Icon">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M13.098 8H6.902c-.751 0-1.172.754-.708 1.268L9.292 12.7c.36.399 1.055.399 1.416 0l3.098-3.433C14.27 8.754 13.849 8 13.098 8z"></path></svg>
</span>
</div>
</span>
</button>
</div>
<div data-polaris-popover-target="popover" class="Polaris-PositionedOverlay Polaris-Popover__PopoverOverlay Polaris-Popover__PopoverOverlay--closed">
<div class="Polaris-Popover">
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
<div style="">
<div class="Polaris-Popover__Wrapper">
<div tabindex="-1" class="Polaris-Popover__Content">
<div data-polaris-scrollable-shadow-value="true" data-polaris-scrollable-top-shadow-class="Polaris-Scrollable--hasTopShadow" data-polaris-scrollable-bottom-shadow-class="Polaris-Scrollable--hasBottomShadow" data-controller="polaris-scrollable" style="" class="Polaris-Popover__Pane Polaris-Scrollable Polaris-Scrollable--vertical">
<span data-polaris-scrollable-target="topEdge"></span>
<div class="Polaris-ActionList">
<div class="Polaris-ActionList__Section--withoutTitle">
<ul class="Polaris-ActionList__Actions">
<li>
<a content="Share on Facebook" href="https://facebook.com" class="Polaris-ActionList__Item">
<div class="Polaris-ActionList__Content">
<span class="Polaris-ActionList__Text">
Share on Facebook
</span>
</div>
</a></li>
<li>
<a content="Share on Twitter" href="https://twitter.com" class="Polaris-ActionList__Item">
<div class="Polaris-ActionList__Content">
<span class="Polaris-ActionList__Text">
Share on Twitter
</span>
</div>
</a></li>
</ul>
</div>
</div>
<span data-polaris-scrollable-target="bottomEdge"></span>
</div>
</div>
</div>
</div>
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
</div>
</div>
</div>
</span>
</div>
</div>
</div>
</div>
<div class="Polaris-Page-Header__PrimaryActionWrapper">
<button type="button" disabled="disabled" data-controller="polaris-button" class="Polaris-Button Polaris-Button--disabled Polaris-Button--primary">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Save
</div>
</span>
</button>
</div>
<div class="Polaris-Page-Header__PaginationWrapper">
<nav aria-label="Pagination">
<div data-buttongroup-segmented="true" class="Polaris-ButtonGroup Polaris-ButtonGroup--segmented">
<div class="Polaris-ButtonGroup__Item"> <button type="button" disabled="disabled" data-controller="polaris-button" class="Polaris-Button Polaris-Button--disabled Polaris-Button--outline Polaris-Button--iconOnly">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Icon">
<span class="Polaris-Icon">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M12 16a.997.997 0 0 1-.707-.293l-5-5a.999.999 0 0 1 0-1.414l5-5a.999.999 0 1 1 1.414 1.414L8.414 10l4.293 4.293A.999.999 0 0 1 12 16z"></path></svg>
</span>
</div>
</span>
</button></div>
<div class="Polaris-ButtonGroup__Item"> <a href="/product/2" data-controller="polaris-button" class="Polaris-Button Polaris-Button--outline Polaris-Button--iconOnly">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Icon">
<span class="Polaris-Icon">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M8 16a.999.999 0 0 1-.707-1.707L11.586 10 7.293 5.707a.999.999 0 1 1 1.414-1.414l5 5a.999.999 0 0 1 0 1.414l-5 5A.997.997 0 0 1 8 16z"></path></svg>
</span>
</div>
</span>
</a></div>
</div>
</nav>
</div>
</div>
</div>
</div>
</div>
<div class="Polaris-Page__Content">
<div class="Polaris-Card">
<div class="Polaris-Card__Header">
<h2 class="Polaris-Heading">Credit card</h2>
</div>
<div class="Polaris-Card__Section">
<p>Credit card information</p>
</div>
</div>
</div>
</div>
<%= polaris_page(
title: "3/4 inch Leather pet collar",
subtitle: "Perfect for any pet",
compact_title: true,
back_url: "/products",
next_url: "/product/2",
secondary_actions: [
{ content: "Duplicate", url: "/duplicate" },
]
) do |page| %>
<% page.title_metadata do %>
<%= polaris_badge(status: :success) { "Paid" } %>
<% end %>
<% page.primary_action(disabled: true) { "Save" } %>
<% page.action_group(
title: "Promote",
actions: [
{ content: "Share on Facebook", url: "https://facebook.com" },
{ content: "Share on Twitter", url: "https://twitter.com" },
]
) %>
<%= polaris_card(title: "Credit card") do %>
<p>Credit card information</p>
<% end %>
<% end %>
No notes provided.
No params configured.