Sha256: 34f4412102e58d88047f49b484978d3570171a16d9de7965c8ddd0470762395a
Contents?: true
Size: 824 Bytes
Versions: 1
Compression:
Stored size: 824 Bytes
Contents
<%= pb_content_tag(:div, **combined_html_options) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 | app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb |