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-7.3.0.pre.alpha2 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.1.2 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.1.0.pre.alpha2 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.1.1.pre.alpha1 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.1.1 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.1.0.pre.alpha1 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.1.0 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha15 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-6.8.2.pre.alpha1 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.0.pre.alpha15 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.1.pre.alpha14 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.0.pre.alpha14 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.0.pre.alpha13 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.0.pre.alpha12 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.0 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-7.0.0.pre.alpha11 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-6.8.1 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-6.8.0 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb
playbook_ui-6.7.0.pre.alpha1 app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb