Sha256: 81315d07167cdfe844c2ff161ca2202f57e1a3d7b6051d85c36e3a0c15cb81c3

Contents?: true

Size: 797 Bytes

Versions: 147

Compression:

Stored size: 797 Bytes

Contents

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

  <% if object.multi %>
    <%= check_box_tag object.name, object.value, object.checked, id: object.input_id_present, disabled: object.disabled %>
  <% else %>
    <%= radio_button_tag object.name, object.value, object.checked, id: object.input_id_present, disabled: object.disabled %>
  <% end %>

  <label for="<%= object.input_id_present %>">
    <% if object.children.nil? %>
      <%= pb_rails("body", props: { text: object.text }) %>
    <% else %>
      <%= capture(&object.children) %>
    <% end %>
    <% if object.icon %>
      <div class="pb_selectable_card_circle">
        <%= pb_rails("icon", props: { icon: "check", fixed_width: true}) %>
      </div>
    <% end %>
  </label>

<% end %>

Version data entries

147 entries across 147 versions & 1 rubygems

Version Path
playbook_ui-6.7.0 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-6.6.1 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.0.pre.alpha10 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-6.6.0 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-6.5.2 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha12 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha11 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha10 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha9 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-6.5.1 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-6.5.0 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha8 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha7 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha6 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha5 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha4 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha3 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha2 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-6.4.2 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha1 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb