<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%@ Import Namespace="NzbDrone.Core.Repository.Quality" %> <% using (Html.BeginForm("SaveQuality", "Settings", FormMethod.Post, new { id = "form", name = "form" })) {%>
Indexers <%: Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.") %>
<%= Html.LabelFor(m => m.DefaultProfileId) %>
<%: Html.DropDownListFor(m => m.DefaultProfileId, Model.SelectList)%> <%= Html.ValidationMessageFor(m => m.DefaultProfileId)%>
<%= Html.ActionLink("Add a New Profile", "AddUserProfile", null, new { id = "addItem" }) %>
<%for (int i = 0; i < Model.UserProfiles.Count(); i++){%> <% Html.RenderPartial("UserProfileSection", Model.UserProfiles[i]); %> <%--<%= Html.TextBoxFor(m => m.UserProfiles[i].ApiUrl, new { @style = "display:none" })%>--%> <%}%>

<%}%>
<%----%>