<tr id="<%= dom_id archive_file %>" class="with_action">
	<td>
		<% if (archive_file.create_user_id ==  current_or_guest_user.id) || is_manager? %>
			<%= check_box_tag 'to_delete[]', archive_file.id, false, :class => "checkbox_in_list" %>
		<% end -%>
	</td>
  <td>
    <%= archive_file.sort_number %>
  </td>
	<td>
		<div class="label-group">
			<div class="label-td">
				<% if archive_file.is_top? %>
					<span class="label label-success"><%= t(:top) %></span>
				<% end %>
				<% if archive_file.is_hot? %>
					<span class="label label-important"><%= t(:hot) %></span>
				<% end %>
				<% if archive_file.is_hidden? %>
					<span class="label"><%= t(:hidden) %></span>
				<% end %>
			</div>
		</div>
	</td>
	<td><%= archive_file.archive_file_category.title %></td>
	<td>
	  <%= link_to archive_file.title, panel_archive_front_end_archive_file_path(archive_file) %>

		<div class="quick-edit">
			<ul class="nav nav-pills hide">
				<% if (archive_file.create_user_id ==  current_or_guest_user.id) || is_manager? %>
						<li><%= link_to t(:edit), edit_panel_archive_back_end_archive_file_path(archive_file) %></li>
						<li class="dropdown"><%= link_to t(:delete_), panel_archive_back_end_archive_file_path(archive_file), :confirm => t(:sure?), :method => :delete, :remote => true %></li>
				<% end -%>
			</ul>
		</div>

	</td>
	<td>
		<div class="label-group">
			<div class="label-td">
				<% archive_file.sorted_tags.each do |tag| %>
					<span class="label label-tags"><%= tag.name %></span>
				<% end %>
			</div>
		</div>
	</td>
</tr>

