<%@ include file="/WEB-INF/decorators/include.jsp"%>

<html>
<head></head>
<body>

<h4 class="title"><fmt:message key="evaluation.title"/>: ${evaluationForm.title}</h4>

<form:form method="post" commandName="evaluationForm">

	<table>
    <c:forEach items="${evaluationForm.simpleRatings}" var="criterion" varStatus="j">
    
    <tr>
        <td>${criterion.name}</td>
        <form:hidden path="simpleRatings[${j.index}].name"></form:hidden>
         <td>
         <c:forEach var="i" begin="${criterion.min_rating}" end="${criterion.max_rating}" step="1">
          <c:out value="${i}"/>
          <form:radiobutton path="simpleRatings[${j.index}].value" value="${i}" />
         </c:forEach>
         </td>
	</tr>
   </c:forEach>
   
    <tr>
    <td><fmt:message key="evaluation.commentAuthor"/></td>
	<td><form:textarea path="commentAuthor"/></td>
	</tr>
	
	<tr>    
    <td><fmt:message key="evaluation.commentPCMember"/></td>
	<td><form:textarea path="commentPCMember"/></td>
    <tr>
   </table>
   
        
  
   <input type="submit" name="submit" value="<fmt:message key="button.OK"/>"/>

</form:form>

  </body>
</html>
