<div class="table_header">
	{{ _p('Categories') }}
</div>
<table id="_sort" data-sort-url="{{ url('/v/admincp/category/order') }}">
	<tr>
		<th style="width:20px"></th>
		<th style="width:20px"></th>
		<th>{{ _p('Name') }}</th>
	</tr>
	{% for category in categories %}
	<tr class="{% if loop.index is odd %} tr{% endif %}" data-sort-id="{{ category.id }}">
		<td class="t_center">
			<i class="fa fa-sort"></i>
		</td>
		<td class="t_center">
			<a href="#" class="js_drop_down_link"></a>
			<div class="link_menu">
				<ul>
					<li><a href="{{ url('/v/admincp/category', {id: category.id}) }}" class="popup">{{ _p('Edit') }}</a></li>
					<li><a href="{{ url('/v/admincp/category/delete', {id: category.id}) }}" class="sJsConfirm">{{ _p('Delete') }}</a></li>
				</ul>
			</div>
		</td>
		<td>{{ _p(category.value) }}</td>
	</tr>
	{% endfor %}
</table>