x
<div class="Polaris-Page Polaris-Page--narrowWidth">
<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="/orders" 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">
<h1 class="Polaris-Header-Title">Add payment method</h1>
</div>
</div>
</div>
<div class="Polaris-Page-Header__RightAlign">
<div class="Polaris-Page-Header__Actions">
<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>
</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 class="Polaris-PageActions">
<div class="Polaris-Stack Polaris-Stack--distributionEqualSpacing Polaris-Stack--spacingTight">
<div class="Polaris-Stack__Item">
<div class="Polaris-ButtonGroup">
<div class="Polaris-ButtonGroup__Item"> <button type="button" data-controller="polaris-button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Delete
</div>
</span>
</button>
</div>
</div>
</div>
<div class="Polaris-Stack__Item"> <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>
</div>
</div>
</div>
<%= polaris_page(
narrow_width: true,
title: "Add payment method",
back_url: "/orders",
) do |page| %>
<% page.primary_action(disabled: true) { "Save" } %>
<%= polaris_card(title: "Credit card") do %>
<p>Credit card information</p>
<% end %>
<%= polaris_page_actions do |actions| %>
<% actions.primary_action(disabled: true) { "Save" } %>
<% actions.secondary_action { "Delete" } %>
<% end %>
<% end %>
No notes provided.
No params configured.