<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jspf/taglibs.jsp"%>

<c:set var="uiid" value="${u:uiid()}"/>

<div id="${uiid}">
	<h3 class="mb1">${l.l('Производители')}</h3>

	<table class="data hl">
		<tr>
			<td width="1em">&nbsp;</td>
			<td>ID</td>
			<td>${l.l('Наименование')}</td>
			<td>${l.l('Slug')}</td>
			<td>${l.l('Страна')}</td>
		</tr>
		<c:forEach var="item" items="${frd.manufacturerList}">
			<tr>
				<td>
					<%-- future: edit/delete buttons --%>
				</td>
				<td>${item.id}</td>
				<td>${item.title}</td>
				<td>${item.slug}</td>
				<td>${item.country}</td>
			</tr>
		</c:forEach>
	</table>

	<c:url var="backUrl" value="/user/plugin/inventory/device.do"/>
	<button type="button" class="btn-white mt1"
		onclick="$$.ajax.load('${backUrl}', $('#${uiid}').parent(), {control: this})">
		&larr; ${l.l('Назад')}
	</button>
</div>
