Sha256: 56c35d9e402a65c707c3481be2efbbd814d78b37fb6b8abbcfed9566aedcc6ff

Contents?: true

Size: 1.01 KB

Versions: 613

Compression:

Stored size: 1.01 KB

Contents

<%= content_tag(:label, aria: object.aria,
                        id: object.id,
                        data: object.data,
                        class: object.classname) do %>
  <%= content.presence || object.input %>
  <% if object.indeterminate %>
    <span class="pb_checkbox_indeterminate">
      <%= pb_rails("icon", props: { icon: "minus", classname: "indeterminate_icon", fixed_width: true}) %>
      <%= pb_rails("icon", props: { icon: "check", classname: "check_icon hidden", fixed_width: true}) %>
    </span>
  <% else %>
    <span class="pb_checkbox_checkmark">
      <%= pb_rails("icon", props: { icon: "check", classname: "check_icon", fixed_width: true}) %>
      <%= pb_rails("icon", props: { icon: "minus", classname: "indeterminate_icon hidden", fixed_width: true}) %>
    </span>
  <% end %>
  <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

613 entries across 613 versions & 1 rubygems

Version Path
playbook_ui-13.21.0.pre.alpha.PLAY12652489 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2451 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.21.0.pre.alpha.PBNTR224letuserresetrowexpansion2441 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.21.0.pre.alpha.PBNTR225advancedtablefeedback2438 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.21.0.pre.alpha.PBNTR238DatePickerYearBug2436 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2431 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.21.0.pre.alpha.pbntr220improveexpansionspeed2415 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.20.0.pre.alpha.PLAY12572402 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.21.0 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.20.0.pre.alpha.PBNTR225advancedtablefeedback2375 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.19.0.pre.alpha.PBNTR200addadvancedtablekitdarkmodestyles2346 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2345 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2342 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.19.0.pre.alpha.play1186collapsiblenaviconcolorbug2321 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.19.0.pre.alpha.PBNTR211tablekitsubcomponentsreact2318 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2306 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2305 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.20.0 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.19.0.pre.alpha.play1141iconkitusinglibrary2264 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
playbook_ui-13.19.0.pre.alpha.PBNTR207tabledivsupport2261 app/pb_kits/playbook/pb_checkbox/checkbox.html.erb