Sha256: 86a3874495f7baf74f5379a138ae12288e95cd261d65716760010218125c841c

Contents?: true

Size: 489 Bytes

Versions: 3

Compression:

Stored size: 489 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}) if object.icon %>
  </span>
  <span class="pb_checkbox_label"><%= object.text %></span>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
playbook_ui-2.9.4 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-2.9.3 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb
playbook_ui-2.9.2 app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb