Sha256: 140edd07da578bd3dcf4edfc1783e8f951a29f35640d7440cdf4a3f2462034ff

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

<%= content_tag(:label,
    id: object.id,
    data: object.data,
    value: object.value,
    checked: object.checked,
    class: object.classname) do %>

    <% if object.children %>
      <%= capture(&object.children) %>
    <% else %>
      <%= radio_button_tag object.name, object.value, object.selected %>
    <% end %>

    <span class="pb_radio_button"></span>
    <%= pb_rails("body", props: { text: object.text, dark: object.dark}) %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-3.4.0 app/pb_kits/playbook/pb_radio/_radio.html.erb
playbook_ui-3.3.0 app/pb_kits/playbook/pb_radio/_radio.html.erb