Sha256: 69ee94f067b03f70620773aa5cfb6669e41d3cf6bebdc11723d2fe581bff981f
Contents?: true
Size: 568 Bytes
Versions: 72
Compression:
Stored size: 568 Bytes
Contents
<% content = local_assigns[:content] || local_assigns[:essence_file_view] %> <%- 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( download: true, name: attachment.slug, format: attachment.suffix ), { class: content.essence.css_class.presence, title: content.essence.title.presence }.merge(html_options) ) -%> <%- end -%>
Version data entries
72 entries across 72 versions & 1 rubygems