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

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="moduleShell">
<html-el:form action="/addReportSchedule?methodName=displayAddReportSchedule" method="post">
  <%@ include file="/admin/csrfgentoken.jsp" %>
  <tr>
    <td width="100%">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="moduleShellTableBody">
        <tr>
          <td>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="moduleShellTableHead">
              <tr>
                <td class="moduleBlueBox"><img alt=""  src="../images/spacer.gif" width="25" height="17"/></td>
                <td width="100%" class="moduleHeadline"><bean-el:message key="title.report.scheduleReport" /></td>
                <td class="moduleBlueLink" style="padding: 1px 8px 1px 8px" nowrap><fw:link action="scheduledReports.do?methodName=displayScheduledReports"><bean-el:message key="label.report.backToScheduleReports"/></fw:link></td>
              </tr>
            </table>
          </td>
        </tr>

        <tr>
          <td align="center">
            <br>
            <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="45%">&nbsp;</td>
                <td class="moduleLabel" nowrap><fw:label property="reportId" forId="reportNameId"><bean-el:message key="label.report.reportName" />:</fw:label></td>
                <td width="5%" class="moduleValue" nowrap>
                  <c:set var="reportNameText"><bean-el:message key="label.report.reportName"/></c:set>
                  <html-el:select title="${reportNameText}" styleClass="moduleEdit" styleId="reportNameId" property="reportId">
                    <html-el:option styleClass="moduleEdit" value=""><bean-el:message key="label.select" /></html-el:option>
                    <esrcore:options styleClass="moduleEdit" collection="standardReportList" property="code" labelProperty="codeDescription"/>
                  </html-el:select>
                  &nbsp;
                </td>
                <td width="5%" class="moduleValue">
                  <table border="0" align="center" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><img alt=""  src="../images/buttonEndLeft.gif"/></td>
                      <td><html-el:submit property="methodName" style="width:50; vertical-align: top;" styleClass="buttonText"><bean-el:message key="button.submit"/></html-el:submit></td>
                      <td><img alt=""  src="../images/buttonEndRight.gif"/></td>
                    </tr>
                  </table>
                </td>
                <td width="45%">&nbsp;</td>
              </tr>
            </table>
            <br>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</html-el:form>
</table>
