Sha256: 80c485e43046a7f009df1a2a7f475ccd68b3cbc887ec751d0a99f3bdb611d46a

Contents?: true

Size: 753 Bytes

Versions: 2

Compression:

Stored size: 753 Bytes

Contents

<%= content_tag(:label, aria: object.aria,
                        id: object.id,
                        data: object.data,
                        class: object.classname,
                        for: object.for_attribute ) 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, margin_right: object.form_spacing ? "xs" : "" }) %>
    </span>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-7.4.0.pre.alpha6 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-7.4.0.pre.alpha4 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb