Sha256: be9a86086c4343a04194998a92824edb7722a0b9bf7d97c9ba446af46290d18c
Contents?: true
Size: 596 Bytes
Versions: 14
Compression:
Stored size: 596 Bytes
Contents
<% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> <% if object.send(attribute).attached? %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %> <% object.send(attribute).each do |file| %> <%= link_to url_for(file), class: 'button download-file' do %> <i class="leading-none mr-2 text-base ti ti-download"></i> <span><%= t("global.file_fields.download") %> - <%= file.filename %></span> <% end %> <% end %> <% end %> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems