<%@ 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" %>

<oneit:dynIncluded>
<%
    String  nextPage    =   WebUtils.getSamePageInRenderMode(request, "Occupation");
    String  jobPage     =   WebUtils.getSamePageInRenderMode(request, "CreateJob");

%>  
    <oneit:form name="editJob" method="post"    enctype="multipart/form-data">

        <div class="container-fluid">
                        
            <h1 class="page-title">Create a job</h1>

            <div class="form-page-area">
                <div>
                    <ul>
                    <%
                        for (Occupation occupation : Occupation.SearchByAll().andLevel(new EqualsFilter<>(OccupationLevel.LEVEL_1)).search(transaction))
                        {
                    %>
                            <li>
                                <%= occupation%>
                            </li>
                    <%
                        }
                    %>
                    </ul>
                </div>
                <div>
                    <ul>
                    <%
                        for (Occupation occupation : Occupation.SearchByAll().andLevel(new EqualsFilter<>(OccupationLevel.LEVEL_1)).search(transaction))
                        {
                    %>
                            <li>
                                <%= occupation%>
                            </li>
                    <%
                        }
                    %>
                    </ul>
                </div>
            </div>
        </div>
    </oneit:form>
</oneit:dynIncluded>
