Sha256: b1edc9ad4a20f125ee9a66e70d12362c4ae002f1ed772d011a766fd9815fc2c7

Contents?: true

Size: 536 Bytes

Versions: 9

Compression:

Stored size: 536 Bytes

Contents

<%= content_tag(:label, id: object.id,
                        data: object.data,
                        class: object.classname) do %>
  <input type="checkbox" value="<%=object.value%>" name="<%=object.name%>" <%= object.checked_html %>>
  <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

9 entries across 9 versions & 1 rubygems

Version Path
playbook_ui-3.2.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-3.1.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-3.0.1 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-3.0.0 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-2.9.9 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-2.9.8 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-2.9.7 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-2.9.6 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-2.9.5 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb