<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> Add" />
<%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-full-input searchBox regulatory-description" })%> Delete" /> <%:Html.ValidationMessageFor(x => x.EpaRegulationPrograms[i].Value)%> <%:Html.HiddenFor(x=>x.RegulationPrograms[i].RegulationProgram.ProgramCode,new { @class = desc }) %> <%:Html.HiddenFor(x => x.RegulationPrograms[i].Id, new { @class = "regulation-id" })%> <%:Html.HiddenFor(x => x.RegulationPrograms[i].EntityId)%> <%:Html.HiddenFor(x => x.RegulationPrograms[i].RegulationProgram.Text, new { @class = "regulation-text" })%> <%:Html.HiddenFor(x => x.RegulationPrograms[i].RegulationProgram.Year, new { @class = "regulation-year" })%>
<%} %>