<%@ include file="/includes.jsp" %>
<%@ taglib prefix="smvc" uri="http://www.springframework.org/tags/form"%>
<div class="breadcrumb">
You are here: <a href="../emdt/emdtHome.form"><img src="../emdt/images/16x16/icon.png" style="vertical-align: top;"/> eMDT</a> &gt; <a href="../emdt/reportMenu.jsp">Reports</a> &gt; <a class="selected">Letters</a>
</div>


<br/>
<smvc:form action="/emdt/letterActions.form" modelAttribute="letterForm">
	<input type="hidden" name="redirectParams" value="<c:out value="${requestScope['javax.servlet.forward.query_string']}" />" />
	<table class="dialogBox">
		<tr>
			<td colspan="2" class="dialogTitle">Letters</td>
		</tr>
		<tr>
			<td class="label"><b>Name</b></td>
			<td class="input"><b>Download</b></td>
		</tr>
		<c:forEach var="letter" items="${letterForm.letters }" varStatus="i">
			<tr>
				<td class="label">
					<c:out value="${letter.name}"/>
				</td>
				<td class="input">
					<a target="_blank" href="..${letter.url}?format=html" title="View online"><img src="images/16x16/htm.gif" border="0" alt="View online"/></a> 
					| <a href="..${letter.url}?format=rtf" title="Download as Word / RTF format"><img src="images/16x16/word.gif" border="0" alt="Download as Word / RTF format"/></a> 
					| <a href="..${letter.url}?format=pdf" title="Download as PDF format"><img src="images/16x16/pdf.gif" border="0" alt="Download as PDF format"/></a>
				</td>
			</tr>
		</c:forEach>
	</table>
</smvc:form>