Sha256: 468377a6784fa9e671c094685acd68c8b526f4d84630c994e3bd899736e03565

Contents?: true

Size: 574 Bytes

Versions: 2

Compression:

Stored size: 574 Bytes

Contents

<%= content_tag(:label, 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: { text: object.text, dark: object.dark }) %>
    </span>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-3.4.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-3.3.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb