Sha256: 2b7dbdeee119eb99631a2042d4b158bf74699fd7b61c42c97d9379bd659408d5

Contents?: true

Size: 793 Bytes

Versions: 8

Compression:

Stored size: 793 Bytes

Contents

<%= pb_content_tag do %>

    <% if object.inputs == "disabled" %>

      <%= pb_rails("icon", props: { custom_icon: object.custom_icon, icon: object.icon, size: "2x" }) %>
      <%= pb_rails("title", props: { text: object.text, tag: "h4", size: 4 }) %>

    <% else %>
      <% if object.multi %>
        <%= check_box_tag(object.name, object.value, object.checked, object.additional_input_options) %>
      <% else %>
        <%= radio_button_tag(object.name, object.value, object.checked, object.additional_input_options) %>
      <% end %>

      <label for="<%= object.input_id_present %>">
        <%= pb_rails("icon", props: { icon: object.icon, size: "2x" }) %>
        <%= pb_rails("title", props: { text: object.text, tag: "h4", size: 4 }) %>
      </label>
    <% end %>

<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12820 app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12816 app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb
playbook_ui-13.25.0.pre.alpha.PBNTR291Dropdownrailsv22812 app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb
playbook_ui-13.26.0 app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb
playbook_ui-13.25.0.pre.alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2785 app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb
playbook_ui-13.25.0.pre.alpha.PLAY1249fixTooltipswrappingformelementscausingmisalignment2783 app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb
playbook_ui-13.25.0.pre.alpha.PBNTR272Dropdownkitv42769 app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb
playbook_ui-13.25.0.pre.alpha.barchartfix2766 app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb