<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%for(int i = 0 ; i< Model.EpaRegulationPrograms.Count ; i++) { %>
<% string desc = "regulatory-description"+i; %> <%:Html.TextBoxFor(x =>x.EpaRegulationPrograms[i].Value, new { @class = "text-input small-long-input hint searchBox regulatory-description", @title="Begin typing..." })%> <%:Html.ValidationMessageFor(x => x.EpaRegulationPrograms[i].Value)%> <%:Html.HiddenFor(x=>x.RegulationPrograms[i].ProgramCode,new { @class = desc }) %> <%:Html.HiddenFor(x => x.RegulationPrograms[i].Id, new { @class = "regulation-id" })%> <%:Html.HiddenFor(x => x.RegulationPrograms[i].UnitProcessId)%> <%:Html.HiddenFor(x => x.RegulationPrograms[i].Text, new { @class = "regulation-text" })%> <%:Html.HiddenFor(x => x.RegulationPrograms[i].Year, new { @class = "regulation-year" })%>
<%} %>