Sha256: 8272b449108fb1fa073e403f777d6332af9df38f7d3e9e32953cdfcd426fbd97

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

<%- if attachment = content.ingredient -%>
  <%- html_options = local_assigns.fetch(:html_options, {}) -%>
  <%= link_to(
    content.essence.link_text.presence ||
      content.settings_value(:link_text, local_assigns.fetch(:options, {})) ||
      attachment.name,
    attachment.url,
    {
      class: content.essence.css_class.presence,
      title: content.essence.title.presence
    }.merge(html_options)
  ) -%>
<%- end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy-dragonfly-s3-3.6.6 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy-dragonfly-s3-3.6.5 app/views/alchemy/essences/_essence_file_view.html.erb