Sha256: a714a3218be0f3448be2511942f98d0792bef94a7e00dbf6bcf1517394482e6a

Contents?: true

Size: 655 Bytes

Versions: 23

Compression:

Stored size: 655 Bytes

Contents

<%= content_tag(:label, aria: object.aria,
                        id: object.id,
                        data: object.data,
                        class: object.classname) do %>  
  <% if object.children %>
    <%= capture(&object.children) %>
   <% else %>             
    <%= object.input %>
  <% end %>
    <span class="pb_checkbox_checkmark">
      <%= pb_rails("icon", props: { icon: "check", id: "check_icon", classname: "check_icon", fixed_width: true}) %>
    </span>
    <span class="pb_checkbox_label">
      <%= pb_rails("body", props: { status: object.checkbox_label_status, text: object.text, dark: object.dark }) %>
    </span>
<% end %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
playbook_ui-5.5.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-5.5.0.pre.alpha1 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-5.4.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb