<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%@ Import Namespace="NzbDrone.Core.Repository.Quality" %> <%@ Import Namespace="NzbDrone.Web.Helpers" %> <% Html.EnableClientValidation(); %> <% 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.DefaultQualityProfileId)%>
<%: Html.DropDownListFor(m => m.DefaultQualityProfileId, Model.SelectList)%>
<%= Html.ValidationMessageFor(m => m.DefaultQualityProfileId)%>
"> Add New Profile

Add New Profile

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