This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-05-16 03:07:11 +00:00
|
|
|
<tr id="asset_<%= asset.id %>" class="with_action">
|
|
|
|
<td><%= check_box_tag 'to_delete[]', asset.id, false, :class => "checkbox_in_list" %></td>
|
|
|
|
<td>
|
|
|
|
<div class="assets_pic"><%= image_tag(asset.data.url) %></div>
|
|
|
|
<div class="quick-edit">
|
|
|
|
<ul class="nav nav-pills hide">
|
|
|
|
<li><%= link_to t(:edit), edit_admin_asset_path(asset), :remote => true, :class => 'edit' %></li>
|
|
|
|
<li class="dropdown"><%= link_to t(:delete), admin_asset_path(asset), :confirm => t('sure?'), :method => :delete, :class => 'delete' %></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2011-12-28 12:49:53 +00:00
|
|
|
</td>
|
|
|
|
<td><%= asset.description %></td>
|
|
|
|
<td><%= asset.data.file.content_type %></td>
|
2012-01-24 03:36:24 +00:00
|
|
|
<td><%= asset.data_identifier %></td>
|
2011-12-28 12:49:53 +00:00
|
|
|
<td><%= number_to_human_size(asset.data.file.file_length) %></td>
|
|
|
|
</tr>
|