<?page title="${labels.ServiceFormTitle}" contentType="text/html;charset=UTF-8"?>
<zk>
	<window
		id="editWin"
		closable="true"
		border="normal"
		position="center"
		apply="org.zkoss.bind.BindComposer"
		viewModel="@id('vm') @init('info.bukova.isspst.ui.reqsubjects.ServiceItemForm')">
		<caption
			image="/img/painting-032.png"
			zclass="form-caption"
			label="${labels.ServiceFormTitle}" />
		<vlayout>
			<grid hflex="min">
				<columns>
					<column
						align="right"
						hflex="min" />
					<column />
				</columns>
				<rows>
					<row>
						<cell sclass="row-title">${labels.code} :</cell>
						<cell>
							<textbox
								id="code"
								constraint="@load(vm.constriant)"
								width="200px"
								value="@bind(vm.dataBean.code)" />
						</cell>
					</row>
					<row>
						<cell sclass="row-title">${labels.name} :</cell>
						<cell>
							<textbox
								id="name"
								width="200px"
								value="@bind(vm.dataBean.name)" />
						</cell>
					</row>
					<row>
						<cell sclass="row-title">${labels.description} :</cell>
						<cell>
							<textbox
								id="description"
								width="300px"
								value="@bind(vm.dataBean.description)" />
						</cell>
					</row>
				</rows>
			</grid>
			<include src="/app/formButtons.zul" />
		</vlayout>
	</window>
</zk>