Sha256: b49c619aa5a43afe549d14c6dca2e4dcc1b462f9d9dd0115ff90adbf2b370a54

Contents?: true

Size: 389 Bytes

Versions: 10

Compression:

Stored size: 389 Bytes

Contents

<%- cache(content) do -%>
<%- if content.ingredient.present? -%>
<%- html_options = {
  target: content.essence.link_target == "blank" ? "_blank" : nil
}.merge(local_assigns.fetch(:html_options, {})) -%>
<%= link_to(content.ingredient, html_options) do -%>
<%= content.settings_value(:text, local_assigns.fetch(:options, {})) ||
  content.ingredient -%>
<%- end -%>
<%- end -%>
<%- end -%>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.4.2 app/views/alchemy/essences/_essence_link_view.html.erb
alchemy_cms-3.4.1 app/views/alchemy/essences/_essence_link_view.html.erb
alchemy_cms-3.3.3 app/views/alchemy/essences/_essence_link_view.html.erb
alchemy_cms-3.3.2 app/views/alchemy/essences/_essence_link_view.html.erb
alchemy_cms-3.4.0 app/views/alchemy/essences/_essence_link_view.html.erb
alchemy_cms-3.4.0.rc1 app/views/alchemy/essences/_essence_link_view.html.erb
alchemy_cms-3.3.1 app/views/alchemy/essences/_essence_link_view.html.erb
alchemy_cms-3.3.0 app/views/alchemy/essences/_essence_link_view.html.erb
alchemy_cms-3.3.0.rc2 app/views/alchemy/essences/_essence_link_view.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/essences/_essence_link_view.html.erb