<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jspf/include/taglibs.jsp" %>



<tiles:insert definition="layout.main">
	
	
	<tiles:put name="body" type="String">
		
		<table align="center" width="100%" height="100%" border=0>
			<tr valign="middle">
				<td align="center" valign="middle"> 
					<form action="/auth/activate.do" method="post">
					<input type="hidden" name="method" value="${activateOperation}"/>
					<input type="hidden" name="activateOperation" value="${activateOperation}"/>
					
					<c:if test="${not empty error }">
								<div class="error">${error}</div>
					</c:if>
					
					<table border = 1 >

						<c:forEach items="${parameters}" var="parameter">
							<tr>
								<td>
									${parameter['title']}									
								</td>
								<td>
									<input type="text" name="param_${parameter['name']}"  />
								</td>							
							</tr>
						</c:forEach>						
					
						
						<tr>
							<td align="right" colspan="2">
								<input type="submit" value="Активировать"/>
							</td>
						</tr>
					</table>
					</form>
				</td>
			</tr>

		</table>
	</tiles:put>
</tiles:insert>