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
<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">
Inventory Location
</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__SingleSelectOption" data-polaris-option-list-target="radioButton" data-action="click->polaris-option-list#update">
<div class="Polaris-OptionList-Option__Layout" style="justify-content: normal;">
<div><input type="radio" name="location" id="location_byward_market" value="byward_market" aria-checked="false" class="Polaris--hidden" />Byward Market</div>
</div>
</label></li>
<li tabindex="-1" class="Polaris-OptionList-Option">
<label class="Polaris-OptionList-Option__SingleSelectOption" data-polaris-option-list-target="radioButton" data-action="click->polaris-option-list#update">
<div class="Polaris-OptionList-Option__Layout" style="justify-content: normal;">
<div><input type="radio" name="location" id="location_centretown" value="centretown" aria-checked="false" class="Polaris--hidden" />Centretown</div>
</div>
</label></li>
<li tabindex="-1" class="Polaris-OptionList-Option">
<label class="Polaris-OptionList-Option__SingleSelectOption" data-polaris-option-list-target="radioButton" data-action="click->polaris-option-list#update">
<div class="Polaris-OptionList-Option__Layout" style="justify-content: normal;">
<div><input type="radio" name="location" id="location_hintonburg" value="hintonburg" aria-checked="false" class="Polaris--hidden" />Hintonburg</div>
</div>
</label></li>
<li tabindex="-1" class="Polaris-OptionList-Option">
<label class="Polaris-OptionList-Option__SingleSelectOption" data-polaris-option-list-target="radioButton" data-action="click->polaris-option-list#update">
<div class="Polaris-OptionList-Option__Layout" style="justify-content: normal;">
<div><input type="radio" name="location" id="location_westboro" value="westboro" aria-checked="false" class="Polaris--hidden" />Westboro</div>
</div>
</label></li>
<li tabindex="-1" class="Polaris-OptionList-Option">
<label class="Polaris-OptionList-Option__SingleSelectOption" data-polaris-option-list-target="radioButton" data-action="click->polaris-option-list#update">
<div class="Polaris-OptionList-Option__Layout" style="justify-content: normal;">
<div><input type="radio" name="location" id="location_downtown" value="downtown" aria-checked="false" class="Polaris--hidden" />Downtown</div>
</div>
</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: "Inventory Location", name: :location) do |list| %>
<% list.with_radio_button(label: "Byward Market", value: "byward_market") %>
<% list.with_radio_button(label: "Centretown", value: "centretown") %>
<% list.with_radio_button(label: "Hintonburg", value: "hintonburg") %>
<% list.with_radio_button(label: "Westboro", value: "westboro") %>
<% list.with_radio_button(label: "Downtown", value: "downtown") %>
<% end %>
<% end %>