Sha256: b37001791765d6397636ee6b38d7cb292ea52328ec3661772c2d8da9e2aaac28

Contents?: true

Size: 339 Bytes

Versions: 40

Compression:

Stored size: 339 Bytes

Contents

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

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
alchemy_cms-6.1.10 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.1.9 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.1.8 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.1.7 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.1.6 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.1.5 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.0.14 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.1.4 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-7.0.0.pre.a app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.0.13 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.1.3 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.1.2 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.1.1 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.1.0 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.0.12 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.0.11 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.0.10 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.0.9 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.0.8 app/views/alchemy/ingredients/_link_view.html.erb
alchemy_cms-6.0.7 app/views/alchemy/ingredients/_link_view.html.erb