x
<div style="max-width: 300px" class="Polaris-Card">
<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>
</div>
<%= polaris_card(sectioned: false, style: "max-width: 300px") do %>
<%= 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.