x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<div dismissible="true" tabindex="0" role="status" class="Polaris-Banner Polaris-Banner--statusWarning Polaris-Banner--withinPage"> <div class="Polaris-Banner__Ribbon"> <span class="Polaris-Icon Polaris-Icon--colorWarning Polaris-Icon--applyColor"> <svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M10 20c5.514 0 10-4.486 10-10S15.514 0 10 0 0 4.486 0 10s4.486 10 10 10zm1-6a1 1 0 1 1-2 0v-4a1 1 0 1 1 2 0v4zm-1-9a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"></path></svg> </span> </div> <div class="Polaris-Banner__ContentWrapper"> <div class="Polaris-Banner__Heading"> <p class="Polaris-Heading"> Some of your product variants are missing weights </p> </div> <div class="Polaris-Banner__Content"> <p>Add weights to show accurate rates at checkout and when buying shipping labels in Shopify.</p> <div class="Polaris-Banner__Actions"> <div class="Polaris-ButtonGroup"> <div class="Polaris-ButtonGroup__Item"> <div class="Polaris-Banner__PrimaryAction"> <a href="#" data-controller="polaris-button" class="Polaris-Banner__Button Polaris-Button"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Edit variant weights </div> </span> </a> </div> </div> <div class="Polaris-ButtonGroup__Item"> <a href="#" class="Polaris-Banner__SecondaryAction"><span class="Polaris-Banner__Text">Learn more</span></a> </div> </div> </div> </div> </div></div>
1
2
3
4
5
6
7
8
9
10
<%= polaris_banner( title: "Some of your product variants are missing weights", status: :warning, dismissible: true,) do |banner| %> <p>Add weights to show accurate rates at checkout and when buying shipping labels in Shopify.</p> <% banner.action(url: '#') { "Edit variant weights" } %> <% banner.secondary_action(url: "#") { "Learn more" } %><% end %>
No notes provided.
No params configured.