details.jsp 739 Bytes
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>

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

<html>
<head>
<title><spring:message code="metadata.page.title" /></title>
</head>
<body>
	<h1><c:out value="${trait.title}" /></h1>
Matija Obreza's avatar
Matija Obreza committed
11
	<div><a href="<c:url value="/c/${trait.crop.shortName}" />/descriptors">${trait.crop.name}</a> trait</div>
Matija Obreza's avatar
Matija Obreza committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
	
	<h4>Methods</h4>
	<table>
		<tbody>
			<c:forEach items="${traitMethods}" var="method">
				<tr>
					<td><c:out value="${method.parameter.title}" /></td>
					<td><a href="<c:url value="/descriptors/${trait.id}/${method.id}" />"><c:out value="${method.method}" /></a></td>
					<td><c:out value="${method.fieldName}" /></td>
					<td><c:out value="${method.unit}" /></td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>