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

<div id="additionalActionResult"></div>

<c:if test="${not empty actionList}">
<div class="tile">
	<c:forEach var="item" varStatus="status" items="${actionList}">			
	<div class="flexRow additionalAction textMarginTop1">
		<div class="flexColumn">
			<div class="titleFont2">${item.title}</div>
			<c:if test="${not empty item.description}"><div class="paramColor paramFont" style="margin: 1rem;">${item.description}</div></c:if>
		</div>
		<div><button type="button" class="btn btn-primary" onclick="showBlock( 'additionalActionResult', 'doAction', { ...additionalActionQuery, action_id: '${item.id}' } );">Выполнить</button></div>
	</div>
	<c:if test="${not status.last}"><div class="line"></div></c:if>
	</c:forEach>
</div>	
</c:if>
