<%@ 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>
<%
    ObjectTransaction   objTran     =   process.getTransaction ();
    String              nextPage    =   WebUtils.getArticleLink(request, objTran, WebUtils.JOB_APPLICATION, "Page");
    Job                 job         =   (Job) process.getAttribute("Job");
    
    Debug.assertion(job != null, "Job is null in applicant portal");
%>
    <script>
        $(document.body).addClass('bg-color');
    </script>
    
    <oneit:form name="applyJob" method="post"   enctype="multipart/form-data">
        
        <oneit:dynInclude   page="/extensions/applicantportal/inc/multifieldtext.jsp"   data="<%= CollectionUtils.EMPTY_MAP%>"/>
        
        <div class="main-verify-identity">
            <div class="verify-aust-logo"><img src="images/australia-post.png"></div>
            <div class="pl-verify">Please verify your identity before applying to:</div>
            <div class="verify-i-title"><oneit:toString value="<%= job.getJobTitle() %>"    mode="EscapeHTML"/></div>
            <div class="main-box-layout verify-i-setpone">
                <div class="box-label">Sign in using your social network of choice</div>
                <ul class="social-login">
                    <li><a href="#"><img src="images/login-linkedin-icon.svg"></a></li>
                    <li><a href="#"><img src="images/login-facebok-icon.svg"></a></li>
                    <li><a href="#"><img src="images/login-google.png"></a></li>
                </ul>
                <div class="box-br-line"><span></span></div>
                <div class="box-label">Or sign in via email</div>
                <div class="form-group text-left">
                    <label>Email Address</label>
                    <oneit:ormInput obj="<%= job %>"    type="text" attributeName="Email"   cssClass="form-control second-style" />
                </div>
                <div class="form-group">
                    <oneit:button   value="Verify and proceed"  name="signIn"  cssClass="box-btn"
                                    requestAttribs="<%= CollectionUtils.mapEntry("nextPage", nextPage)
                                                                    .mapEntry("Job",job)
                                                                    .mapEntry("procParams", CollectionUtils.mapEntry("Job", job).toMap())
                                                                    .toMap() %>"/>
                </div>
            </div>
        </div>
    </oneit:form>
</oneit:dynIncluded>