Listing assets

<% @assets.each do |asset| %> <% end %>
檔案 描述 格式 原上傳檔名 檔案大小
<%= link_to asset.filename, admin_asset_path(asset) %> <%= asset.description %> <%= asset.data.content_type %> <%= asset.data.file_name %> <%= number_to_human_size(asset.data.file_size) %> <%= link_to t(:edit), edit_admin_asset_path(asset) %> <%= link_to t(:delete), admin_asset_path(asset), :confirm => 'Are you sure?', :method => :delete %>

<%= link_to t(:new_asset, :scope => :admin), new_admin_asset_path, :class => 'button positive' %>