Sha256: 688b514c6e7b7641efc6d4dae47b992ed4c7b71543d8f2d19f193df8d08f1c88
Contents?: true
Size: 576 Bytes
Versions: 5
Compression:
Stored size: 576 Bytes
Contents
<% # Buttons should not have link options: href, target options = { id: object.id, data: object.data, class: object.classname(object.kit_class), disabled: object.disabled, aria: object.aria, type: object.type, value: object.value }.compact link_options = { href: object.link, target: object.new_window } %> <%= content_tag(object.tag, object.tag == "button" ? options : options.merge(link_options)) do %> <%= object.loading_icon %> <span class="pb_button_content"><%= object.yield(context: self) %></span> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems