<%= render 'section_header' %> <%= will_paginate @downloads, inner_window: 2 %> <% @downloads.each do |download| %> <% end %>
name path
<%= download.name %> <%= link_to download.thing.url, download.thing.url %> <%= link_to t('edit'), edit_download_path(download), class: 'btn btn-xs btn-default' %> <%= link_to t('delete'), download, method: :delete, data: { confirm: t('are_you_sure') }, class: 'btn btn-xs btn-danger' %>
<%= will_paginate @downloads, inner_window: 2 %> <%= link_to 'upload new asset', new_download_path, class: 'btn btn-default' %> <%= render 'shared/admin_sidebar' %>