<tr id="<%= dom_id web_link %>" class="with_action">
	<td>
		<% if (web_link.create_user_id ==  current_or_guest_user.id) || is_manager? %>
			<%= check_box_tag 'to_delete[]', web_link.id, false, :class => "checkbox_in_list" %>
		<% end -%>
	</td>
	<td>
		<div class="label-group">
			<div class="label-td">
				<% if web_link.is_top? %>
					<span class="label label-success"><%= t(:top) %></span>
				<% end %>
				<% if web_link.is_hot? %>
					<span class="label label-important"><%= t(:hot) %></span>
				<% end %>
				<% if web_link.is_hidden? %>
					<span class="label"><%= t(:hidden) %></span>
				<% end %>
			</div>
		</div>
	</td>
	<td><%= web_link.web_link_category.title rescue nil %></td>
	<td>
	<%= link_to web_link.title, panel_web_resource_back_end_web_link_path(web_link) %>
	<div class="quick-edit">
		<ul class="nav nav-pills hide">
			<%if at_least_module_manager || web_link.web_link_category.cur_user_is_sub_manager_of(:edit)%>
			<li><%= link_to t('edit'), edit_panel_web_resource_back_end_web_link_path(web_link) %></li>
			<li><%= link_to t('delete'), panel_web_resource_back_end_web_link_path(web_link), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
			<% end -%>
		</ul>
	</div>
	</td>
	<td>
		<div class="label-group">
			<div class="label-td">
				<% web_link.sorted_tags.each do |tag| %>
					<span class="label label-tags"><%= tag[I18n.locale] %></span>
				<% end %>
			</div>
		</div>
	</td>
</tr>

