{block content}
	<div class="span3">
		{include '@menu.latte'}
	</div>

	<div class="span9">
		<div class="box-content">
			<h1>Seznam dodavatelů</h1>

			<div n:foreach="$flashes as $flash" class="alert alert-{$flash->type}">{$flash->message}</div>

			<table class="table table-striped">
				<thead>
					<tr>
						{*<th>Id <a n:href='this, orderBy => id, orderWay => asc' class="order"><i class='icon-circle-arrow-up'></i></a>&nbsp;<a n:href='this, orderBy => id, orderWay => desc' class="order"><i class='icon-circle-arrow-down'></i></a></th>*}
						<th>Dodavatel&nbsp;<a n:href='this, orderBy => title, orderWay => asc' class="order"><i class='icon-circle-arrow-up'></i></a>&nbsp;<a n:href='this, orderBy => title, orderWay => desc' class="order"><i class='icon-circle-arrow-down'></i></a></th>
					</tr>
				</thead>

				<tbody>
					<tr n:foreach="$suppliers as $supplier">
						{*<td><a n:href="supplierDetail, id => $supplier->id">{$supplier->id}</a></td>*}
						<td><a n:href="supplierDetail, id => $supplier->id">{$supplier->title}</a></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
