<tr id="asset_<%= asset.id %>" class="with_action">
	<td><%= check_box_tag 'to_delete[]', asset.id, false, :class => "checkbox_in_list" %></td>
	<td><%= asset.title.i18n_variable[I18n.locale] rescue nil %></td>
	<td>
		<i class="icons-picture img-peview" rel="popover" data-content="<img src='<%= asset.data.url %>' />" data-original-title="<%= asset.data.filename %>"></i>
		<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>
	</td>
	<td><%= asset.data.file.content_type %></td>
	<td><%= number_to_human_size(asset.data.file.file_length) %></td>
	<td><%= asset.description.i18n_variable[I18n.locale] rescue nil %></td>
	<td>
		<div class="label-group">
			<div class="label-td">
				<% asset.sorted_tags.each do |tag| %>
					<span class="label label-tags"><%= tag[I18n.locale] %></span>
				<% end %>
			</div>
		</div>
	</td>
</tr>

<script type="text/javascript">
    $('.img-peview').popover({
            delay: { show: 100, hide: 300 }
    });
</script>