Previews

No matching results.

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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<div style="max-width: 300px" class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle">
<ul data-controller="polaris-option-list" data-polaris-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 Polaris-OptionList-Option__CheckboxLabel Polaris-OptionList-Option__MultiSelectOption">
<div class="Polaris-OptionList-Option__Checkbox">
<label class="Polaris-Choice Polaris-Checkbox__ChoiceLabel">
<span class="Polaris-Choice__Control">
<span class="Polaris-Checkbox">
<input type="checkbox" name="sales_channel[]" id="sales_channel_" value="online_store" aria-checked="false" class="Polaris-Checkbox__Input" />
<div class="Polaris-Checkbox__Backdrop"></div>
<span class="Polaris-Checkbox__Icon Polaris-Checkbox--animated">
<svg viewBox="0 0 16 16" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"><path class="Polaris-Checkbox--checked" d="M1.5,5.5L3.44655,8.22517C3.72862,8.62007,4.30578,8.64717,4.62362,8.28044L10.5,1.5" transform="translate(2 2.980376)" opacity="0" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" pathLength="1"></path></svg>
</span>
</span>
</span>
<span class="Polaris-Choice__Label">
<span></span>
</span>
</label>
</div>
<span>Online Store</span>
</label>
</li>
<li tabindex="-1" class="Polaris-OptionList-Option">
<label class="Polaris-OptionList-Option__Label Polaris-OptionList-Option__CheckboxLabel Polaris-OptionList-Option__MultiSelectOption">
<div class="Polaris-OptionList-Option__Checkbox">
<label class="Polaris-Choice Polaris-Checkbox__ChoiceLabel">
<span class="Polaris-Choice__Control">
<span class="Polaris-Checkbox">
<input type="checkbox" name="sales_channel[]" id="sales_channel_" value="messenger" aria-checked="false" class="Polaris-Checkbox__Input" />
<div class="Polaris-Checkbox__Backdrop"></div>
<span class="Polaris-Checkbox__Icon Polaris-Checkbox--animated">
<svg viewBox="0 0 16 16" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"><path class="Polaris-Checkbox--checked" d="M1.5,5.5L3.44655,8.22517C3.72862,8.62007,4.30578,8.64717,4.62362,8.28044L10.5,1.5" transform="translate(2 2.980376)" opacity="0" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" pathLength="1"></path></svg>
</span>
</span>
</span>
<span class="Polaris-Choice__Label">
<span></span>
</span>
</label>
</div>
<span>Messenger</span>
</label>
</li>
<li tabindex="-1" class="Polaris-OptionList-Option">
<label class="Polaris-OptionList-Option__Label Polaris-OptionList-Option__CheckboxLabel Polaris-OptionList-Option__MultiSelectOption">
<div class="Polaris-OptionList-Option__Checkbox">
<label class="Polaris-Choice Polaris-Checkbox__ChoiceLabel">
<span class="Polaris-Choice__Control">
<span class="Polaris-Checkbox">
<input type="checkbox" name="sales_channel[]" id="sales_channel_" value="facebook" aria-checked="false" class="Polaris-Checkbox__Input" />
<div class="Polaris-Checkbox__Backdrop"></div>
<span class="Polaris-Checkbox__Icon Polaris-Checkbox--animated">
<svg viewBox="0 0 16 16" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"><path class="Polaris-Checkbox--checked" d="M1.5,5.5L3.44655,8.22517C3.72862,8.62007,4.30578,8.64717,4.62362,8.28044L10.5,1.5" transform="translate(2 2.980376)" opacity="0" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" pathLength="1"></path></svg>
</span>
</span>
</span>
<span class="Polaris-Choice__Label">
<span></span>
</span>
</label>
</div>
<span>Facebook</span>
</label>
</li>
<li tabindex="-1" class="Polaris-OptionList-Option">
<label class="Polaris-OptionList-Option__Label Polaris-OptionList-Option__CheckboxLabel Polaris-OptionList-Option__MultiSelectOption">
<div class="Polaris-OptionList-Option__Checkbox">
<label class="Polaris-Choice Polaris-Checkbox__ChoiceLabel">
<span class="Polaris-Choice__Control">
<span class="Polaris-Checkbox">
<input type="checkbox" name="sales_channel[]" id="sales_channel_" value="wholesale" aria-checked="false" class="Polaris-Checkbox__Input" />
<div class="Polaris-Checkbox__Backdrop"></div>
<span class="Polaris-Checkbox__Icon Polaris-Checkbox--animated">
<svg viewBox="0 0 16 16" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"><path class="Polaris-Checkbox--checked" d="M1.5,5.5L3.44655,8.22517C3.72862,8.62007,4.30578,8.64717,4.62362,8.28044L10.5,1.5" transform="translate(2 2.980376)" opacity="0" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" pathLength="1"></path></svg>
</span>
</span>
</span>
<span class="Polaris-Choice__Label">
<span></span>
</span>
</label>
</div>
<span>Wholesale</span>
</label>
</li>
<li tabindex="-1" class="Polaris-OptionList-Option">
<label class="Polaris-OptionList-Option__Label Polaris-OptionList-Option__CheckboxLabel Polaris-OptionList-Option__MultiSelectOption">
<div class="Polaris-OptionList-Option__Checkbox">
<label class="Polaris-Choice Polaris-Checkbox__ChoiceLabel">
<span class="Polaris-Choice__Control">
<span class="Polaris-Checkbox">
<input type="checkbox" name="sales_channel[]" id="sales_channel_" value="buzzfeed" aria-checked="false" class="Polaris-Checkbox__Input" />
<div class="Polaris-Checkbox__Backdrop"></div>
<span class="Polaris-Checkbox__Icon Polaris-Checkbox--animated">
<svg viewBox="0 0 16 16" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"><path class="Polaris-Checkbox--checked" d="M1.5,5.5L3.44655,8.22517C3.72862,8.62007,4.30578,8.64717,4.62362,8.28044L10.5,1.5" transform="translate(2 2.980376)" opacity="0" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" pathLength="1"></path></svg>
</span>
</span>
</span>
<span class="Polaris-Choice__Label">
<span></span>
</span>
</label>
</div>
<span>BuzzFeed</span>
</label>
</li>
</ul>
</div>
</li>
</ul>
</div>
1
2
3
4
5
6
7
8
9
<%= polaris_card(sectioned: false, style: "max-width: 300px") do %>
<%= polaris_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 %>