<%@ page extends="oneit.servlets.jsp.JSPInclude" %>

<%@ include file="/inc/stdimports50.jsp" %><%-- This is in cougar --%>
<%@ include file="/inc/stdcms.jsp" %><%-- This is in cougar --%>
<%@ include file="/extensions/performa/inc/stdimports.jsp" %>

<%
    Company company     =   (Company) process.getAttribute("Company");
    String  tabNumber   =   (String)  getData(request, "TabNumber");
    String  firstTab    =   WebUtils.getSamePageInRenderMode(request, WebUtils.COMPANY_PROFILE);
    String  secondTab   =   WebUtils.getSamePageInRenderMode(request, WebUtils.INVITE_USERS);
%>

<oneit:dynIncluded>

    <div class="main-tab-form">
        <ul class="nav nav-pills nav-justified">
            <li class="<%= tabNumber == "1" ? "active" : ""%>">
                <oneit:button   value=" "   name="gotoPage" skin="link"
                                requestAttribs="<%= CollectionUtils.mapEntry("nextPage", firstTab)
                                                                .mapEntry("procParams", CollectionUtils.mapEntry("Company", company).toMap())
                                                                .toMap() %>">
                    <span><%= CollectionUtils.equals(company.getCompletedProfile(), Boolean.TRUE) ? "<img src=\"images/right-mark.png\" />" : "1"%></span>
                    <div>Team Profile</div>
                </oneit:button>
            </li>
            <li class="<%= tabNumber == "2" ? "active" : ""%>">
                <oneit:button   value=" "   name="gotoPage" skin="link"
                                requestAttribs="<%= CollectionUtils.mapEntry("nextPage", secondTab)
                                                                .mapEntry("procParams", CollectionUtils.mapEntry("Company", company).toMap())
                                                                .toMap() %>">
                    <span>2</span>
                    <div>Invite Teammates</div>
                </oneit:button>
            </li>
            <li><a href="#"><span>3</span><div>Welcome</div></a></li>
        </ul>
    </div>
    
</oneit:dynIncluded>
