Sha256: e583ba4d5c15562c172d22639c610486cfb59069ca258b90482e691d20c43de0

Contents?: true

Size: 346 Bytes

Versions: 17

Compression:

Stored size: 346 Bytes

Contents

<% if attachment = content.essence.attachment %>
  <%= link_to(
    h(attachment.name),
    download_alchemy_attachment_path(attachment),
    :class => "file_link #{content.essence.css_class.blank? ? "" : content.essence.css_class}",
    :title => "#{content.essence.title.blank? ? attachment.file_name : content.essence.title}"
  ) %>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.9.0 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.8.3 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.7.5 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.6.3 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.7.4 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.8.2 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.8.1 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.7.3 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.7.2 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.7.1 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.7.0 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.6.2 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.6.1 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.6.0 app/views/alchemy/essences/_essence_file_view.html.erb
alchemy_cms-2.6.0.rc5 app/views/alchemy/essences/_essence_file_view.html.erb