Sha256: 1ff980ef15a9149f239f29d853af1769ef383a1f115594191f57062e30b8baf7

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

<div class="download" id="download-<%= download.id %>">
  <h2><%= download.heading_name %></h2>
  <ul>
    <li class="download-asset_file_name"><%= Ecm::Downloads::Download.human_attribute_name(:asset_file_name) %>: <%= download.asset_file_name %></li>
    <li class="download-asset_file_size"><%= Ecm::Downloads::Download.human_attribute_name(:asset_file_size) %>: <%= number_to_human_size(download.asset_file_size) %></li>
    <li class="download-created_at"><%= Ecm::Downloads::Download.human_attribute_name(:created_at) %>: <%= l download.created_at %></li>
    <li class="download-updated_at"><%= Ecm::Downloads::Download.human_attribute_name(:updated_at) %>: <%= l download.updated_at %></li>
  </ul> 
  <% unless download.description.blank? %>
  <div class="download-description">
    <p><%= download.description %></p>
  </div>
  <% end %>
  <div class="download-actions">
    <p><%= link_to t('ecm.downloads.download.actions.start_download'), download.asset.url, { :class => 'download-link button' } %></p>
  </div>
</div>

<hr />

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecm_downloads-0.0.2 app/views/ecm/downloads/downloads/_download.html.erb