<div class="content2">
	<h1>Сертификаты</h1>
	<div class="certificates_list">
		<div class="reload" href="{{@URI}}">
			<table class="work_table">
				<tr>
					<th>
						Наименование
					</th>
					<th width="100">
					</th>
				</tr>
				<repeat group="{{@certificates}}" value="{{@certificate}}">
				<tr>
					<td>
						{{@products[@certificate['product_id']]['title']}}
					</td>
					<td>
						<form action="/receipts/add_certificate" method="POST">
							<input type="hidden" name="product_id" value="{{@certificate['product_id']}}">
							<input type="hidden" name="certificate" value="{{@certificate['code']}}">
							<input type="submit" value="Выбрать">
						</form>
					</td>
				</tr>
				</repeat>
			</table>
		</div>
	</div>
</div>