Sha256: 0bca4c50e82f05a8acd0bf979c1efff1310332b9e5eaac4fc3462bbd5632dda3
Contents?: true
Size: 526 Bytes
Versions: 9
Compression:
Stored size: 526 Bytes
Contents
<% cache(content) do %> <% options = local_assigns.fetch(:options, {}) %> <% html_options = local_assigns.fetch(:html_options, {}) %> <%- if content.essence.link.blank? || options[:disable_link] -%> <%= content.ingredient -%> <%- else -%> <%= link_to( content.ingredient, url_for(content.essence.link), { title: content.essence.link_title, target: (content.essence.link_target == "blank" ? "_blank" : nil), 'data-link-target' => content.essence.link_target }.merge(html_options) ) %> <%- end -%> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems