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 tabindex="0" role="status" class="Polaris-Banner Polaris-Banner--statusWarning Polaris-Banner--withinPage"> <div class="Polaris-Banner__Body"> <div class="Polaris-Banner__ContentWrapper"> <div class="Polaris-Banner__Heading"> <span class="Polaris-Banner__InlineIcon"><span class="Polaris-Icon Polaris-Icon--colorWarning Polaris-Icon--applyColor"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="-2 -2 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a7 7 0 1 1 0 14 7 7 0 0 1 0-14m0 9a1 1 0 1 0 0 2 1 1 0 0 0 0-2m0-6a.75.75 0 0 0-.75.75v3.496a.75.75 0 1 0 1.5 0v-3.496a.75.75 0 0 0-.75-.75"></path></svg> </span></span> <h2 class="Polaris-Text--root Polaris-Text--headingSm Polaris-Text--semibold Polaris-Text--break"> Before you can purchase a shipping label, this change needs to be made: </h2> </div> <div class="Polaris-Banner__Message"> <ul class="Polaris-List Polaris-List--spacingLoose"> <li class="Polaris-List__Item"> The name of the city you’re shipping to has characters that aren’t allowed. City name can only include spaces and hyphens. </li> </ul> </div> </div> <div class="Polaris-Banner__Actions"> <div class="Polaris-ButtonGroup"> <div class="Polaris-ButtonGroup__Item"> <a href="#" data-controller="polaris-button" class="Polaris-Button"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Edit address </div> </span> </a> </div> </div> </div> </div></div>1
2
3
4
5
6
7
8
9
10
11
12
13
<%= polaris_banner( title: "Before you can purchase a shipping label, this change needs to be made:", status: :warning,) do |banner| %> <%= polaris_list do |list| %> <% list.with_item do %> The name of the city you’re shipping to has characters that aren’t allowed. City name can only include spaces and hyphens. <% end %> <% end %> <% banner.with_action(url: '#') { "Edit address" } %><% end %>No notes provided.
No params configured.