Sha256: aa63169ed5ae11180407b20ba84f81750592de6cf14a4a695f05f257e8655be9

Contents?: true

Size: 612 Bytes

Versions: 65

Compression:

Stored size: 612 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: { status: object.checkbox_label_status, text: object.text, dark: object.dark }) %>
    </span>
<% end %>

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
playbook_ui-5.0.1.pre.beta app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-5.1.0.pre.alpha4 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-5.1.0.pre.alpha2 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-5.1.0.pre.alpha1 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-5.0.1 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-5.0.1.pre.alpha1 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.18.1.pre.alpha1 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.18.1 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.18.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.17.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.17.0.pre.alpha1 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.16.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.15.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.14.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.15.1.alpha1 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.13.1 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.13.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.12.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.11.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb