x
<div data-controller="polaris-popover" data-polaris-popover-active-value="true" data-polaris-popover-placement-value="auto" data-polaris-popover-open-class="Polaris-Popover__PopoverOverlay--open" data-polaris-popover-closed-class="Polaris-Popover__PopoverOverlay--closed" style="display: inline-block;">
<div data-polaris-popover-target="activator">
<button data-action="polaris-popover#toggle [email protected]>polaris-popover#hide" data-controller="polaris-button" type="button" class="Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Options
</div>
<div class="Polaris-Button__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="M13.098 8H6.902c-.751 0-1.172.754-.708 1.268L9.292 12.7c.36.399 1.055.399 1.416 0l3.098-3.433C14.27 8.754 13.849 8 13.098 8z"></path></svg>
</span>
</div>
</span>
</button>
</div>
<div data-polaris-popover-target="popover" class="Polaris-PositionedOverlay Polaris-Popover__PopoverOverlay Polaris-Popover__PopoverOverlay--closed">
<div class="Polaris-Popover">
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
<div style="">
<div class="Polaris-Popover__Wrapper">
<div tabindex="-1" class="Polaris-Popover__Content">
<div data-polaris-scrollable-shadow-value="true" data-polaris-scrollable-top-shadow-class="Polaris-Scrollable--hasTopShadow" data-polaris-scrollable-bottom-shadow-class="Polaris-Scrollable--hasBottomShadow" data-controller="polaris-scrollable" style="" class="Polaris-Popover__Pane Polaris-Scrollable Polaris-Scrollable--vertical">
<span data-polaris-scrollable-target="topEdge"></span>
<ul data-controller="polaris-option-list" data-polaris-option-list-selected-class="Polaris-OptionList-Option--select" class="Polaris-OptionList">
<li>
<p class="Polaris-OptionList__Title">Inventory Location</p>
<ul class="Polaris-OptionList__Options">
<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"><input type="radio" name="location" id="location_byward_market" value="byward_market" aria-checked="false" class="Polaris--hidden" />Byward Market</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"><input type="radio" name="location" id="location_centretown" value="centretown" aria-checked="false" class="Polaris--hidden" />Centretown</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"><input type="radio" name="location" id="location_hintonburg" value="hintonburg" aria-checked="false" class="Polaris--hidden" />Hintonburg</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"><input type="radio" name="location" id="location_westboro" value="westboro" aria-checked="false" class="Polaris--hidden" />Westboro</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"><input type="radio" name="location" id="location_downtown" value="downtown" aria-checked="false" class="Polaris--hidden" />Downtown</label></li>
</ul>
</li>
</ul>
<span data-polaris-scrollable-target="bottomEdge"></span>
</div>
</div>
</div>
</div>
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
</div>
</div>
</div>
<%= polaris_popover(active: true) do |popover| %>
<% popover.button(disclosure: true) { "Options" } %>
<%= polaris_option_list(title: "Inventory Location", name: :location) do |list| %>
<% list.radio_button(label: "Byward Market", value: "byward_market") %>
<% list.radio_button(label: "Centretown", value: "centretown") %>
<% list.radio_button(label: "Hintonburg", value: "hintonburg") %>
<% list.radio_button(label: "Westboro", value: "westboro") %>
<% list.radio_button(label: "Downtown", value: "downtown") %>
<% end %>
<% end %>
No notes provided.
No params configured.