<div class="comments-area" style=" margin-bottom: 30px;">
	<div class="row mb-2">
		<div class="col-sm-6 d-none d-md-block ">
			<h3>
				{{ lang['user_groups'] }}</h3>
		</div>
		<!-- /.col -->
		<div class="col-sm-6">
			<ol class="breadcrumb float-sm-right">
				<li class="breadcrumb-item">
					<a href="{{ php_self }}">
						<i class="fa fa-home"></i>
					</a>
				</li>
				<li class="breadcrumb-item active" aria-current="page"></li>
				<li class="breadcrumb-item active" aria-current="page">{{ lang['user_groups'] }}</li>
			</ol>
		</div>
		<!-- /.col -->
	</div>
	<!-- /.row -->
</div>
<div class="comments-area">

	<table width="97%" class="content" border="0" cellspacing="0" cellpadding="0" align="center">
		<thead>
			<tr align="left" class="contHead">
				<td width="5%">#</td>
				<td>Идентификатор</td>
				<td>Название</td>
				<td>Пользователей в группе</td>
				<td>Действие</td>
			</tr>
		</thead>
		<tbody id="admCatList">
			{% for entry in entries %}
				<tr align="center" class="contRow1">
					<td>{{ entry.id }}</td>
					<td>{{ entry.identity }}</td>
					<td>{{ entry.name }}</td>
					<td>{{ entry.count }}</td>
					<td>
						{% if (entry.flags.canEdit) %}[
							<a href="?mod=ugroup&action=editForm&id={{entry.id}}">Edit</a>
							]
						{% endif %}
						{% if (entry.flags.canDelete) %}[
							<a href="?mod=ugroup&action=delete&id={{entry.id}}&token={{ token }}">Delete</a>
							]
						{% endif %}
					</td>
				</tr>
			{% endfor %}
		</tbody>
		<tfoot>
			<tr>
				<td colspan="8" class="contentEdit" align="left">&nbsp;
					{% if (flags.canAdd) %}
						<form method="get" action=""><input type="hidden" name="mod" value="ugroup"/><input type="hidden" name="action" value="addForm"/><input type="submit" value="Добавить группу" class="button"/></form>
					{% endif %}
				</td>
			</tr>
		</tfoot>
	</table>
</div>
