<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%@ Import Namespace="NzbDrone.Core.Repository.Quality" %> <%@ Import Namespace="NzbDrone.Web.Helpers" %> <% using (Html.BeginForm("SaveQuality", "Settings", FormMethod.Post, new { id = "form", name = "form" })) {%>
Quality <%: 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)%>
"> Add New Profile

Add New Profile

<%foreach (var item in Model.UserProfiles) { %> <% Html.RenderPartial("UserProfileSection", item); %> <% } %>
<%}%>