<!-- button row for assignment and update  -->
<c:if test="${tabName != 'searchResults'}">
  <tr>
    <td style="padding:5 10 5 10">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="moduleShellTableHead">
      <tr>
      <c:if test="${tabName != 'openCases'}">
        <c:set var="workflowAssignedToList" value="${workflowAssignedToList}" />
        <!-- Assign to -->
        <c:if test="${(tabName == 'myCases' and assignWorkItemsToOthers == true) or (tabName != 'myCases' and assignWorkItems == true)}">
          <td nowrap="true" width="20%" class="moduleLabel" style="padding-left:10">
          <fw:label property="assignTo" forId="assignToSelId${actionHeaderSuffix}"><bean-el:message key="label.assignSelected"/>:</fw:label></td>
          <c:set var="assignSelectedText"><bean-el:message key="label.assignSelected"/></c:set>
          <td nowrap="true" width="20%" class="moduleValue">
            <html-el:select title="${assignSelectedText}" styleId="assignToSelId${actionHeaderSuffix}" styleClass="moduleValue" property="assignTo"
              onchange="syncSelections(this,assignTo); return false;">
            <html-el:option value=""><bean-el:message key="label.select" /></html-el:option>
              <esrcore:options collection="workflowAssignedToList"
                property="code" labelProperty="description"/>
            </html-el:select>
          </td>
          <td style="padding-left:10"><img alt=""  src="../images/buttonEndLeft.gif"/></td>
          <td><html-el:submit property="methodName"
            onClick="return(isSelected(assignTo)); return false;"
            style="width:50; vertical-align: top;" styleClass="buttonText">
            <bean-el:message key="button.assign"/>
           </html-el:submit>
          </td>
          <td style="padding-right:10"><img alt=""  src="../images/buttonEndRight.gif"/></td>
        </c:if>
      </c:if>
        <td width="100%"><img alt=""  src="../images/spacer.gif"/></td>
        <c:if test="${closeWorkItems == true}">
          <td nowrap="true" width="20%" class="moduleLabel">
            <fw:label property="updateAction" forId="updateActionId${actionHeaderSuffix}"><bean-el:message key="label.updateSelected"/>:</fw:label></td>
            <c:set var="updateSelectedText"><bean-el:message key="label.updateSelected"/></c:set>
          <td nowrap="true" width="20%" class="moduleValue">
            <html-el:select title="${updateSelectedText}" styleId="updateActionId${actionHeaderSuffix}" styleClass="moduleValue" property="updateAction"
              onchange="syncSelections(this,updateAction); return false;">
            <html-el:option value=""><bean-el:message key="label.select" /></html-el:option>
            <esrcore:options collection="gov.va.med.esr.ui.common.beans.WorkflowActionType"
              property="code" labelProperty="description"/>
            </html-el:select>
          </td>
          <td style="padding-left:10"><img alt=""  src="../images/buttonEndLeft.gif"/></td>
          <td><html-el:submit property="methodName"
            onClick="return(isSelected(updateAction)); return false;"
            style="width:50; vertical-align: top;" styleClass="buttonText">
            <bean-el:message key="button.update"/>
            </html-el:submit></td>
          <td style="padding-right:10"><img alt=""  src="../images/buttonEndRight.gif"/></td>
        </c:if>
      </tr>
      </table>
    </td>
  </tr>
</c:if>