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
35
36
<div tabindex="0" role="status" class="Polaris-Banner Polaris-Banner--statusCritical Polaris-Banner--withinPage"> <div class="Polaris-Banner__Ribbon"> <span class="Polaris-Icon Polaris-Icon--colorCritical Polaris-Icon--applyColor"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M11.768.768a2.5 2.5 0 0 0-3.536 0L.768 8.232a2.5 2.5 0 0 0 0 3.536l7.464 7.464a2.5 2.5 0 0 0 3.536 0l7.464-7.464a2.5 2.5 0 0 0 0-3.536L11.768.768zM9 6a1 1 0 1 1 2 0v4a1 1 0 1 1-2 0V6zm2 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path></svg> </span> </div> <div class="Polaris-Banner__ContentWrapper"> <div class="Polaris-Banner__Heading"> <p class="Polaris-Heading"> High risk of fraud detected </p> </div> <div class="Polaris-Banner__Content"> <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 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"> Review risk analysis </div> </span> </a> </div> </div> </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.action(url: '#') { "Review risk analysis" } %><% end %>
No notes provided.
No params configured.