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--statusCritical 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--colorCritical 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"> High risk of fraud detected </h2> </div> <div class="Polaris-Banner__Message"> <p> Before fulfilling this order or capturing payment, please <a href="#" data-polaris-unstyled="true" class="Polaris-Link Polaris-Link--monochrome">review the Risk Analysis</a> and determine if this order is fraudulent. </p> </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"> Review risk analysis </div> </span> </a> </div> </div> </div> </div></div>1
2
3
4
5
6
7
8
9
10
11
12
<%= polaris_banner( title: "High risk of fraud detected", status: :critical,) do |banner| %> <p> Before fulfilling this order or capturing payment, please <%= polaris_link(url: "#", monochrome: true) { "review the Risk Analysis" } %> and determine if this order is fraudulent. </p> <% banner.with_action(url: '#') { "Review risk analysis" } %><% end %>No notes provided.
No params configured.