Files
yacos/YACOSWeb/WebContent/WEB-INF/jsp/evaluation.jsp
2008-02-23 16:42:03 +00:00

49 lines
1.4 KiB
Plaintext

<%@ 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" id="account_data">
<p class="legend">Rating</p>
<fieldset>
<c:forEach items="${evaluationForm.simpleRatings}" var="criterion" varStatus="j">
<div>
<form:label path="title">${criterion.name}</form:label>
<form:hidden path="simpleRatings[${j.index}].name"></form:hidden>
<form:label path="simpleRatings[${j.index}].name"><form:select path="simpleRatings[${j.index}].value">
<c:forEach var="i" begin="${criterion.min_rating}" end="${criterion.max_rating}">
<form:option value="${i}"></form:option>
</c:forEach>
</form:select></form:label>
</div>
</c:forEach>
</fieldset>
<p class="legend">Commentary</p>
<fieldset>
<div>
<form:label path="commentAuthor"><fmt:message key="evaluation.commentAuthor"/></form:label>
<form:textarea path="commentAuthor" cols="60" rows="10"/>
</div>
<div>
<form:label path="commentPCMember"><fmt:message key="evaluation.commentPCMember"/></form:label>
<form:textarea path="commentPCMember" cols="60" rows="10"/>
</div>
</fieldset>
<input type="submit" name="submit" value="<fmt:message key="button.OK"/>"/>
</form:form>
</body>
</html>