<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<form:form method="post"  action="library/add" modelAttribute="entry">
<style type="text/css">
	<%@include file='/css/style.css'%>
    </style> 
<table id="findtable">
    <tr>
      <td id="headform" colspan="2">---Uue raamatu sisestamine---</td>
     </tr>
    <tr>
		<tr>
			<td>Pealkiri:</td>
			<td><form:input path="title" /></td>
		
		</tr>
		<tr>
			<td>Autor:</td>
			<td><form:input path="author" /></td>
		
		</tr>
		<tr>
			<td>&#381;anr:</td>
			<td><form:input path="genre" /></td>
			
		</tr>
		<tr>
			<td>T&uuml;&uuml;p:</td>
			<td><form:input path="type" /></td>
			
		</tr>
		<tr>
			<td>Aasta:</td>
			<td><form:input path="year" /></td>
			
		</tr>
			<td>Kommentaar:</td>
			<td><form:textarea path="comment" /></td>
				</tr>
	</table>
	<form:hidden path="id" />
	<input type="submit" value="Salvesta" />
	</form:form>