Sha256: d490f35ff3b1ee11dacc8bdc50beb7a1a4c8f47da64506f793a3f020f4615aa1
Contents?: true
Size: 699 Bytes
Versions: 1
Compression:
Stored size: 699 Bytes
Contents
<%= pb_content_tag do %> <% if object.label.present? %> <%= pb_rails("caption", props: {text: object.label, margin_bottom:"xs"}) %> <% end %> <div class="dropdown_wrapper" style="position: relative"> <% if content.present? %> <%= content.presence %> <% else %> <%= pb_rails("dropdown/dropdown_trigger") %> <%= pb_rails("dropdown/dropdown_container") do %> <% if object.options.present? %> <% object.options.each do |option| %> <%= pb_rails("dropdown/dropdown_option", props: {option: option}) %> <% end %> <% end %> <% end %> <% end %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12820 | app/pb_kits/playbook/pb_dropdown/dropdown.html.erb |