<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Views/Shared/SleisLayout.Master" %> <%if (TempData[Constants.EisSubmissionId] !=null && !String.IsNullOrEmpty(TempData[Constants.EisSubmissionId].ToString())) { %> <%:Html.ActionLink("Download XML", "GetEisXml", new{id=TempData[Constants.EisSubmissionId]}) %> <%} %> <% using (Html.BeginForm()) { %>

Submit Data

<%--

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam mollis nisi in purus scelerisque vel adipiscing ipsum lacinia. Nulla facilisi. Ut vitae urna est.

--%>

<%----%> <%: Html.TextBoxFor(x => x.AuthorName, new { @class="text-input wide-input", @maxlength="255"}) %> <%: Html.ValidationMessageFor(x => x.AuthorName, "Author Name is required") %>

<%----%> <%: Html.TextBoxFor(x => x.OrganizationName, new { @class = "text-input wide-input", @maxlength = "255" })%> <%: Html.ValidationMessageFor(x => x.OrganizationName, "Organization Name is required")%>

<%-- --%> <%: Html.DropDownListFor(x => x.SelectedSubmissionType, Model.SubmissionType, new { @class="wide-input" }) %> <%: Html.ValidationMessageFor(x => x.SelectedSubmissionType, "Submission Type is required")%>

<%-- --%> <%: Html.DropDownListFor(x => x.SelectedDataCategory, Model.DataCategory, new { @class="wide-input"}) %> <%: Html.ValidationMessageFor(x => x.SelectedDataCategory, "Data Category is required")%>

<%-- --%> <%: Html.DropDownListFor(x => x.SelectedReportType, Model.ReportType, new { @class="wide-input" }) %> <%: Html.ValidationMessageFor(x => x.SelectedReportType, "Report Type is required")%>

<%-- --%> <%: Html.DropDownListFor(x => x.SelectedInventoryYear, Model.InventoryYear, new { @class="text-input small-input"} ) %> <%: Html.ValidationMessageFor(x => x.SelectedInventoryYear, "Inventory Year is required")%>

<%----%> <%: Html.TextBoxFor(x => x.InventoryNodeUrl, new { @class = "text-input wide-input", @maxlength = "255" })%> <%: Html.ValidationMessageFor(x => x.InventoryNodeUrl, "Network Node is required")%>

<%-- --%> <%: Html.TextBoxFor(x => x.UserName, new { @class="text-input half-input hint", @title="User Name"}) %> <%: Html.ValidationMessageFor(x => x.UserName, "User Name is required")%> <%: Html.PasswordFor(x => x.Password, new { @class="text-input half-input hint", @title="Password"}) %> <%: Html.ValidationMessageFor(x => x.Password, "Password is required")%>

<%:Html.ActionLink("Cancel", "EpaSubmissions", "Agency", new { }, new { @id = "cancelLink", @name = "cancelLink", @class = "cancelButton align-right" })%>
<% } %>