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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<div style="max-width: 300px" class="Polaris-LegacyCard"> <ul data-controller="paper-option-list" data-paper-option-list-selected-class="Polaris-OptionList-Option--select" style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-2);--pc-box-padding-block-start-xs: var(--p-space-2);--pc-box-padding-inline-end-xs: var(--p-space-2);--pc-box-padding-inline-start-xs: var(--p-space-2)" class="Polaris-Box Polaris-Box--listReset"> <li style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box"> <div style="--pc-box-padding-block-end-xs: var(--p-space-2);--pc-box-padding-block-start-xs: var(--p-space-2);--pc-box-padding-inline-end-xs: var(--p-space-2);--pc-box-padding-inline-start-xs: var(--p-space-2)" class="Polaris-Box"> <p class="Polaris-Text--root Polaris-Text--headingXs Polaris-Text--semibold"> Sales Channels </p> </div> <div style="" class="Polaris-Bleed"> <ul style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box Polaris-Box--listReset"> <li tabindex="-1" class="Polaris-OptionList-Option"> <label class="Polaris-OptionList-Option__Label"> <div class="Polaris-OptionList-Option__Checkbox"> <div class="Polaris-OptionList-Checkbox"> <input type="checkbox" name="sales_channel[]" id="sales_channel_" value="online_store" aria-checked="false" class="Polaris-OptionList-Checkbox__Input" /> <div class="Polaris-OptionList-Checkbox__Backdrop"></div> <div class="Polaris-OptionList-Checkbox__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="m7.293 14.707-3-3a.999.999 0 1 1 1.414-1.414l2.236 2.236 6.298-7.18a.999.999 0 1 1 1.518 1.3l-7 8a1 1 0 0 1-.72.35 1.017 1.017 0 0 1-.746-.292z"></path></svg> </span> </div> </div> </div> Online Store </label> </li> <li tabindex="-1" class="Polaris-OptionList-Option"> <label class="Polaris-OptionList-Option__Label"> <div class="Polaris-OptionList-Option__Checkbox"> <div class="Polaris-OptionList-Checkbox"> <input type="checkbox" name="sales_channel[]" id="sales_channel_" value="messenger" aria-checked="false" class="Polaris-OptionList-Checkbox__Input" /> <div class="Polaris-OptionList-Checkbox__Backdrop"></div> <div class="Polaris-OptionList-Checkbox__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="m7.293 14.707-3-3a.999.999 0 1 1 1.414-1.414l2.236 2.236 6.298-7.18a.999.999 0 1 1 1.518 1.3l-7 8a1 1 0 0 1-.72.35 1.017 1.017 0 0 1-.746-.292z"></path></svg> </span> </div> </div> </div> Messenger </label> </li> <li tabindex="-1" class="Polaris-OptionList-Option"> <label class="Polaris-OptionList-Option__Label"> <div class="Polaris-OptionList-Option__Checkbox"> <div class="Polaris-OptionList-Checkbox"> <input type="checkbox" name="sales_channel[]" id="sales_channel_" value="facebook" aria-checked="false" class="Polaris-OptionList-Checkbox__Input" /> <div class="Polaris-OptionList-Checkbox__Backdrop"></div> <div class="Polaris-OptionList-Checkbox__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="m7.293 14.707-3-3a.999.999 0 1 1 1.414-1.414l2.236 2.236 6.298-7.18a.999.999 0 1 1 1.518 1.3l-7 8a1 1 0 0 1-.72.35 1.017 1.017 0 0 1-.746-.292z"></path></svg> </span> </div> </div> </div> Facebook </label> </li> <li tabindex="-1" class="Polaris-OptionList-Option"> <label class="Polaris-OptionList-Option__Label"> <div class="Polaris-OptionList-Option__Checkbox"> <div class="Polaris-OptionList-Checkbox"> <input type="checkbox" name="sales_channel[]" id="sales_channel_" value="wholesale" aria-checked="false" class="Polaris-OptionList-Checkbox__Input" /> <div class="Polaris-OptionList-Checkbox__Backdrop"></div> <div class="Polaris-OptionList-Checkbox__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="m7.293 14.707-3-3a.999.999 0 1 1 1.414-1.414l2.236 2.236 6.298-7.18a.999.999 0 1 1 1.518 1.3l-7 8a1 1 0 0 1-.72.35 1.017 1.017 0 0 1-.746-.292z"></path></svg> </span> </div> </div> </div> Wholesale </label> </li> <li tabindex="-1" class="Polaris-OptionList-Option"> <label class="Polaris-OptionList-Option__Label"> <div class="Polaris-OptionList-Option__Checkbox"> <div class="Polaris-OptionList-Checkbox"> <input type="checkbox" name="sales_channel[]" id="sales_channel_" value="buzzfeed" aria-checked="false" class="Polaris-OptionList-Checkbox__Input" /> <div class="Polaris-OptionList-Checkbox__Backdrop"></div> <div class="Polaris-OptionList-Checkbox__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="m7.293 14.707-3-3a.999.999 0 1 1 1.414-1.414l2.236 2.236 6.298-7.18a.999.999 0 1 1 1.518 1.3l-7 8a1 1 0 0 1-.72.35 1.017 1.017 0 0 1-.746-.292z"></path></svg> </span> </div> </div> </div> BuzzFeed </label> </li> </ul> </div> </li> </ul></div>
1
2
3
4
5
6
7
8
9
<%= paper_card(sectioned: false, style: "max-width: 300px") do %> <%= paper_option_list(title: "Sales Channels", name: :sales_channel) do |list| %> <% list.with_checkbox(label: "Online Store", value: "online_store") %> <% list.with_checkbox(label: "Messenger", value: "messenger") %> <% list.with_checkbox(label: "Facebook", value: "facebook") %> <% list.with_checkbox(label: "Wholesale", value: "wholesale") %> <% list.with_checkbox(label: "BuzzFeed", value: "buzzfeed") %> <% end %><% end %>
No notes provided.
No params configured.