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

<c:if test="${dataMap['autopayment.enable']}">
	<ul class="nav nav-tabs px-4 tabs ${requestScope.paymentName}">
		<c:choose>
			<c:when test="${tab eq 'autopayment'}"><c:set var="activeAutopayment">active</c:set></c:when>
			<c:otherwise><c:set var="activeBalance">active</c:set></c:otherwise>
		</c:choose>
    	<li class="nav-item tabBorder4 balance"><a class="nav-link ${activeBalance}" href="#" onclick="showTab('${requestScope.paymentName}','balance'); return false;">Пополнить баланс</a></li>
    	<li class="nav-item tabBorder4 autopayment"><a class="nav-link ${activeAutopayment}" href="#" onclick="showTab('${requestScope.paymentName}','autopayment'); return false;">Автоплатеж</a></li>
    </ul>
</c:if>
