17 lines
695 B
Plaintext
17 lines
695 B
Plaintext
<tr id="asset_<%= asset.id %>" class="have">
|
|
<td><%= asset.id %></td>
|
|
<td><div class="assets_pic"><%= image_tag(asset.data.url) %></div>
|
|
<%#= link_to asset.filename, asset.data.url, :target => '_blank' %>
|
|
</td>
|
|
<td><%= asset.description %></td>
|
|
<td><%= asset.data.file.content_type %></td>
|
|
<td><%= asset.data_filename %></td>
|
|
<td><%= number_to_human_size(asset.data.file.file_length) %></td>
|
|
<td class="action">
|
|
<%= link_to t(:edit), edit_admin_asset_path(asset), :remote => true, :class => 'edit' %>
|
|
<%= link_to t(:delete), admin_asset_path(asset), :confirm => t('sure?'), :method => :delete, :remote => true, :class => 'delete' %>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6"></td>
|
|
</tr> |