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
<div class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle">
<div class="Polaris-ResourceList__ResourceListWrapper">
<ul class="Polaris-ResourceList">
<li data-controller="polaris-resource-item" class="Polaris-ResourceItem__ListItem">
<div class="Polaris-ResourceItem__ItemWrapper">
<div data-action="click->polaris-resource-item#open" style="cursor: default;" class="Polaris-ResourceItem Polaris-ResourceItem--selectable">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-3);--pc-box-padding-block-start-xs: var(--p-space-3);--pc-box-padding-inline-end-xs: var(--p-space-3);--pc-box-padding-inline-start-xs: var(--p-space-3);position: relative;z-index: var(--pc-resource-item-content-stacking-order)" class="Polaris-Box">
<div style="--pc-horizontal-grid-grid-template-columns-xs: 1fr auto" class="Polaris-HorizontalGrid">
<div style="--pc-horizontal-grid-gap-xs: var(--p-space-3);--pc-horizontal-grid-grid-template-columns-xs: auto 1fr" class="Polaris-HorizontalGrid">
<div style="--pc-horizontal-stack-align: ;--pc-horizontal-stack-wrap: wrap;--pc-horizontal-stack-gap-xs: var(--p-space-3)" class="Polaris-HorizontalStack">
<div style="--pc-bleed-margin-block-start-xs: var(--p-space-2);--pc-bleed-margin-block-end-xs: var(--p-space-2);--pc-bleed-margin-inline-start-xs: var(--p-space-3);--pc-bleed-margin-inline-end-xs: var(--p-space-3)" class="Polaris-Bleed">
<div 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-3);--pc-box-padding-inline-end-xs: var(--p-space-3);--pc-box-padding-inline-start-xs: var(--p-space-3);z-index: var(--pc-resource-item-content-stacking-order)" class="Polaris-Box">
<div>
<label class="Polaris-Choice Polaris-Choice--labelHidden">
<span class="Polaris-Choice__Control">
<span class="Polaris-RadioButton Polaris-RadioButton--labelHidden">
<input type="radio" name="question" id="question_answer1" value="answer1" aria-checked="false" class="Polaris-RadioButton__Input" />
<span class="Polaris-RadioButton__Backdrop"></span>
</span>
</span>
</label>
</div>
</div>
</div>
</div>
<div style="--pc-horizontal-stack-align: ;--pc-horizontal-stack-block-align: center;--pc-horizontal-stack-wrap: wrap;--pc-horizontal-stack-gap-xs: var(--p-space-2)" class="Polaris-HorizontalStack">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-0);--pc-box-padding-block-start-xs: var(--p-space-0);--pc-box-padding-inline-end-xs: var(--p-space-2);--pc-box-padding-inline-start-xs: var(--p-space-0);--pc-box-width: 100%" class="Polaris-Box">
<p>Regular radio</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
1
2
3
4
5
6
7
8
9
10
11
<%= polaris_card(sectioned: false) do %>
<%= polaris_resource_list do %>
<%= polaris_resource_item(selectable: true) do |resource_item| %>
<% resource_item.with_radio_button(
name: "question",
value: "answer1",
) %>
<p>Regular radio</p>
<% end %>
<% end %>
<% end %>