<%@ taglib uri="/tags/struts-bean-el" prefix="bean-el" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html-el" %>
<%@ taglib uri="/tags/esr-core" prefix="esrcore" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/tags/fw" prefix="fw" %>

<c:set var="expandableSectionCollapsed" scope="page"><bean-el:message key="label.expandableSectionCollapsed"/></c:set>

<!-- Non-veteran Eligibility Codes -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="moduleShellTableBody" role="presentation">
  <tr>
    <td width="45%" class="moduleLabel">
      <fw:link href="." onclick="expandOrCollapse(nveBlock, nveImage, nveHiddenId); return false">
        <html-el:img alt="${expandableSectionCollapsed}" align="center" border="0" styleId="nveImage" src="../images/redArrowRight.gif"/><bean-el:message key="label.nonVetEligibilityCodes"/>
      </fw:link>&nbsp;
      <html-el:hidden name="eligibilityForm" property="nveHiddenId"/>
    </td>
    <td width="55%">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2">
      <div id=nveBlock class="expandCollapseBody">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="moduleShellTableBody" role="presentation">
          <tr>
            <td width="45%" class="moduleLabel"><bean-el:message key="label.TRICARE"/>:</td>
            <td width="55%" class="moduleValue">
              <c:forEach var="item" items="${yesNoList}">
                <c:set var="TRICAREText"><bean-el:message key="label.TRICARE"/>&nbsp;(<bean-el:message key="${item.label}" />)</c:set>
                <html-el:radio title="${TRICAREText}" property="tricare" value="${item.value}" styleId="idTricare_${item.value}"/><fw:label property="tricare" forId="idTricare_${item.value}"><bean-el:message key="${item.label}" /></fw:label>
              </c:forEach>
            </td>
          </tr>
          <tr>
            <td width="45%" class="moduleLabel"><bean-el:message key="label.sharingAgreement"/>:</td>
            <td width="55%" class="moduleValue">
              <c:forEach var="item" items="${yesNoList}">
                <c:set var="sharingAgreementText"><bean-el:message key="label.sharingAgreement"/>&nbsp;(<bean-el:message key="${item.label}" />)</c:set>
                <html-el:radio title="${sharingAgreementText}" property="sharingAgreement" styleId="idSharingAgreement_${item.value}" value="${item.value}" />
                <fw:label property="sharingAgreement" forId="idSharingAgreement_${item.value}"><bean-el:message key="${item.label}" /></fw:label>
              </c:forEach>
            </td>
          </tr>
          <tr>
            <td width="45%" class="moduleLabel"><fw:label property="alliedVeteranCountry" forId="idAlliedVeteranCountry"><bean-el:message key="label.alliedVeteranCountry"/>:</fw:label></td>
            <td width="55%" class="moduleValue">
              <c:set var="alliedVeteranCountryText"><bean-el:message key="label.alliedVeteranCountry"/></c:set>
              <html-el:select title="${alliedVeteranCountryText}" styleClass="moduleEdit" property="alliedVeteranCountry" styleId="idAlliedVeteranCountry" >
                <html-el:option value=""><bean-el:message key="label.select" /></html-el:option>
                <esrcore:options collection="gov.va.med.esr.common.model.lookup.AlliedCountry" property="code" labelProperty="description"/>
              </html-el:select>
            </td>
          </tr>
          <tr>
            <td width="45%" class="moduleLabel"><bean-el:message key="label.CHAMPA"/>:</td>
            <td width="55%" class="moduleValue">
              <c:forEach var="item" items="${yesNoList}">
                <c:set var="CHAMPAText"><bean-el:message key="label.CHAMPA"/>&nbsp;(<bean-el:message key="${item.label}" />)</c:set>
                <html-el:radio title="${CHAMPAText}" property="champa" value="${item.value}" styleId="idChampa_${item.value}"/>
                <fw:label property="champa" forId="idChampa_${item.value}"><bean-el:message key="${item.label}" /></fw:label>
              </c:forEach>
            </td>
          </tr>
          <tr>
            <td width="45%" class="moduleLabel"><bean-el:message key="label.employee"/>:</td>
            <td width="55%" class="moduleValue">
              <c:forEach var="item" items="${yesNoList}">
                <c:set var="employeeText"><bean-el:message key="label.employee"/>&nbsp;(<bean-el:message key="${item.label}" />)</c:set>
                <html-el:radio title="${employeeText}" property="employee" styleId="idEmployee_${item.value}" value="${item.value}" />
                <fw:label property="employee" forId="idEmployee_${item.value}"><bean-el:message key="${item.label}" /></fw:label>
              </c:forEach>
            </td>
          </tr>
          <tr>
            <td width="45%" class="moduleLabel"><bean-el:message key="label.collateralOfVet"/>:</td>
            <td width="55%" class="moduleValue">
              <c:forEach var="item" items="${yesNoList}">
                <c:set var="collateralOfVetText"><bean-el:message key="label.collateralOfVet"/>&nbsp;(<bean-el:message key="${item.label}" />)</c:set>
                <html-el:radio title="${collateralOfVetText}" property="collateralOfVet" styleId="idCollateralOfVet_${item.value}" value="${item.value}" />
                <fw:label property="collateralOfVet" forId="idCollateralOfVet_${item.value}"><bean-el:message key="${item.label}" /></fw:label>
              </c:forEach>
            </td>
          </tr>
          <tr>
            <td width="45%" class="moduleLabel"><fw:label property="otherFederalAgency" forId="idOtherFederalAgency"><bean-el:message key="label.otherFederalAgency"/>:</fw:label></td>
            <td width="55%" class="moduleValue">
              <c:set var="otherFederalAgencyText"><bean-el:message key="label.otherFederalAgency"/></c:set>
              <html-el:select title="${otherFederalAgencyText}" styleClass="moduleEdit" property="otherFederalAgency" styleId="idOtherFederalAgency">
                <html-el:option value=""><bean-el:message key="label.select" /></html-el:option>
                <esrcore:options collection="gov.va.med.esr.common.model.lookup.FederalAgency" property="code" labelProperty="description"/>
              </html-el:select>
            </td>
          </tr>
        </table>
      </div>
    </td>
  </tr>
</table>
