<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl>" %> <%@ Import Namespace="NzbDrone.Core.Repository" %>
Search Results <% int r = 0; %> <% foreach (var result in Model) { %> <%: Html.RadioButton("selectedSeries", result.TvDbId, new { @class="searchRadio examplePart", id="searchRadio_" + r }) %> <%: Html.Label(result.TvDbName) %> (<%: Html.Label(result.FirstAired.ToString("MM/dd/yyyy"))%>) <%: Html.TextBox(result.TvDbName + "_text", result.TvDbName, new { id = result.TvDbId + "_text", style="display:none" }) %> <% r++;%>
<% } %>