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

<c:set var="item" value="${frd.item}"/>

<html:form action="${form.requestURI}" styleClass="box">
	<html:hidden property="method" value="update"/>
	<input type="hidden" name="id" value="${empty item ? '' : item.id}"/>

	<h3 class="mb1">${empty item ? l.l('Добавить позицию') : l.l('Редактировать позицию')}</h3>

	<table class="data">
		<tr>
			<td class="label">${l.l('Наименование')} *</td>
			<td><input type="text" name="title" class="w100p" required
				value="${empty item ? '' : item.title}"/></td>
		</tr>
	</table>

	<div class="mt1">
		<ui:form-ok-cancel/>
	</div>
</html:form>
